Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 212.7 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8274/0.8274, allocations: 134 MB / 446.4 MB, free: 9.941 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 71.23 kB / 0.6185 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 85.91 MB / 0.7024 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6104/0.7931, allocations: 141.4 MB / 0.8404 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04208/0.8352, allocations: 24.37 MB / 0.8642 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004713/0.8399, allocations: 95.25 kB / 0.8643 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.843, allocations: 0.9947 MB / 0.8653 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007094/0.8501, allocations: 1.686 MB / 0.8669 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005886/0.856, allocations: 1.643 MB / 0.8685 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008302/0.8643, allocations: 4.617 MB / 0.873 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005703/0.87, allocations: 2.983 MB / 0.8759 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006259/0.8763, allocations: 2.015 MB / 0.8779 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005766/0.8821, allocations: 2.454 MB / 0.8803 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001693/0.8837, allocations: 428 kB / 0.8807 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/0.8875, allocations: 1.003 MB / 0.8817 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001864/0.8893, allocations: 1.133 MB / 0.8828 GB, free: 10.01 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.003559/0.8929, allocations: 1.559 MB / 0.8843 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009383/0.9023, allocations: 5.63 MB / 0.8898 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.9023, allocations: 0 / 0.8898 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9023, allocations: 0 / 0.8898 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001746/0.9024, allocations: 0 / 0.8898 GB, free: 2.797 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01166/0.9141, allocations: 4.373 MB / 0.8941 GB, free: 14.36 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.9142, allocations: 8.031 kB / 0.8941 GB, free: 14.36 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007504/0.9149, allocations: 438.2 kB / 0.8945 GB, free: 13.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0167/0.9316, allocations: 3.125 MB / 0.8976 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006251/0.9379, allocations: 2.192 MB / 0.8997 GB, free: 8.523 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002698/0.9381, allocations: 234.2 kB / 0.8999 GB, free: 8.293 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001064/0.9392, allocations: 304 kB / 0.9002 GB, free: 7.996 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.9527, allocations: 5.301 MB / 0.9054 GB, free: 2.531 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.62e-05/0.9527, allocations: 0 / 0.9054 GB, free: 2.531 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003792/0.9531, allocations: 128 kB / 0.9055 GB, free: 2.406 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.15e-05/0.9532, allocations: 79.94 kB / 0.9056 GB, free: 2.328 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.9695, allocations: 6.048 MB / 0.9115 GB, free: 12.26 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02949/0.999, allocations: 11.3 MB / 0.9225 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/1.01, allocations: 4.148 MB / 0.9266 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00568/1.016, allocations: 2.163 MB / 0.9287 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007578/1.017, allocations: 137.9 kB / 0.9288 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00591/1.023, allocations: 2.499 MB / 0.9313 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=257): time 6.522e-06/1.023, allocations: 0 / 0.9313 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257): time 0.0177/1.04, allocations: 6.722 MB / 0.9378 GB, free: 1.02 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001551/1.04, allocations: 210 kB / 0.938 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/1.044, allocations: 2.375 MB / 0.9404 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006613/1.045, allocations: 73.7 kB / 0.9404 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001514/1.047, allocations: 1.34 MB / 0.9417 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.048, allocations: 0.8947 MB / 0.9426 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008832/1.049, allocations: 456.1 kB / 0.943 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.049, allocations: 309.1 kB / 0.9433 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.053, allocations: 1.87 MB / 0.9452 GB, free: 9.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005158/1.059, allocations: 2.389 MB / 0.9475 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/1.069, allocations: 4.045 MB / 0.9514 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.446e-05/1.069, allocations: 0.9844 kB / 0.9515 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01256/1.081, allocations: 4.668 MB / 0.956 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/1.081, allocations: 8 kB / 0.956 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.081, allocations: 4 kB / 0.956 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006896/1.082, allocations: 243.8 kB / 0.9563 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003909/1.086, allocations: 0.7566 MB / 0.957 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004524/1.091, allocations: 3.231 MB / 0.9601 GB, free: 9.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.094, allocations: 0.5252 MB / 0.9607 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004755/1.095, allocations: 103.9 kB / 0.9608 GB, free: 9.031 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002063/1.097, allocations: 0.8837 MB / 0.9616 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007236/1.098, allocations: 282.1 kB / 0.9619 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01316/1.111, allocations: 5.296 MB / 0.9671 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.152e-05/1.111, allocations: 28 kB / 0.9671 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.111, allocations: 4 kB / 0.9671 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/1.111, allocations: 19.89 kB / 0.9671 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01949/1.13, allocations: 8.39 MB / 0.9753 GB, free: 9.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.13, allocations: 4 kB / 0.9753 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003651/1.134, allocations: 0.7293 MB / 0.976 GB, free: 9.203 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008246/1.135, allocations: 262.4 kB / 0.9763 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002981/1.135, allocations: 71.94 kB / 0.9763 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00541/1.141, allocations: 4.995 MB / 0.9812 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.141, allocations: 0 / 0.9812 GB, free: 3.625 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/1.159, allocations: 7.566 MB / 0.9886 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002469/1.161, allocations: 0.7452 MB / 0.9893 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006169/1.162, allocations: 59.89 kB / 0.9894 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/1.165, allocations: 383.4 kB / 0.9898 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004007/1.165, allocations: 177.8 kB / 0.9899 GB, free: 10.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000241/1.165, allocations: 95.94 kB / 0.99 GB, free: 10.51 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002614/1.168, allocations: 1.732 MB / 0.9917 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1e-07/1.168, allocations: 0 / 0.9917 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002795/1.171, allocations: 0.9741 MB / 0.9927 GB, free: 7.785 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,16,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02303/1.194, allocations: 9.123 MB / 1.002 GB, free: 15 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01233/1.206, allocations: 4.432 MB / 1.006 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.206, allocations: 4.688 kB / 1.006 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006504/1.213, allocations: 2.482 MB / 1.008 GB, free: 8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/1.216, allocations: 0.64 MB / 1.009 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06065/1.277, allocations: 27.84 MB / 1.036 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00231/1.279, allocations: 1.827 MB / 1.038 GB, free: 9.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004154/1.283, allocations: 1.09 MB / 1.039 GB, free: 8.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/1.286, allocations: 1.382 MB / 1.04 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of SimCode: time 1.433e-06/1.286, allocations: 0 / 1.04 GB, free: 6.848 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5076/1.793, allocations: 70.51 MB / 1.109 GB, free: 283 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.08/17.87, allocations: 11.03 kB / 1.109 GB, free: 283 MB / 0.8262 GB " [Timeout remaining time 642] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.732507654931396] Failed to read output from testmodel.py, exit status != 0: 18.1339442669414 18.144652583 17.23980139 Calling exit ...