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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005068/0.005068, allocations: 98.52 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 196.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8127/0.8127, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.19 kB / 0.5808 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1471, allocations: 80.21 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.519/0.6662, allocations: 160.1 MB / 0.8155 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.033/0.6992, allocations: 26.6 MB / 0.8415 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.7031, allocations: 71.41 kB / 0.8416 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002373/0.7055, allocations: 0.9926 MB / 0.8425 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005991/0.7115, allocations: 1.63 MB / 0.8441 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00425/0.7158, allocations: 1.645 MB / 0.8457 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006163/0.722, allocations: 4.584 MB / 0.8502 GB, free: 140 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004938/0.7269, allocations: 4.089 MB / 0.8542 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.7309, allocations: 1.96 MB / 0.8561 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/0.7346, allocations: 2.339 MB / 0.8584 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008918/0.7355, allocations: 428 kB / 0.8588 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.738, allocations: 1.027 MB / 0.8598 GB, free: 8.562 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009516/0.739, allocations: 1.11 MB / 0.8609 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.7412, allocations: 1.924 MB / 0.8628 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.006826/0.7481, allocations: 5.548 MB / 0.8682 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.7481, allocations: 0 / 0.8682 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7481, allocations: 4 kB / 0.8682 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001257/0.7482, allocations: 0 / 0.8682 GB, free: 15.95 MB / 0.6387 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.009657/0.7579, allocations: 4.423 MB / 0.8725 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.758, allocations: 8.031 kB / 0.8725 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005525/0.7585, allocations: 438.2 kB / 0.8729 GB, free: 11 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01362/0.7722, allocations: 2.763 MB / 0.8756 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00538/0.7776, allocations: 2.24 MB / 0.8778 GB, free: 5.945 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001805/0.7778, allocations: 226.2 kB / 0.878 GB, free: 5.723 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000688/0.7785, allocations: 308 kB / 0.8783 GB, free: 5.422 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.7897, allocations: 4.963 MB / 0.8832 GB, free: 384 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.386e-05/0.7898, allocations: 4 kB / 0.8832 GB, free: 380 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003478/0.7902, allocations: 124 kB / 0.8833 GB, free: 256 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.237e-05/0.7902, allocations: 79.94 kB / 0.8834 GB, free: 176 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.8048, allocations: 6.099 MB / 0.8893 GB, free: 10.06 MB / 0.6544 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.0267/0.8315, allocations: 13.58 MB / 0.9026 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.842, allocations: 4.351 MB / 0.9069 GB, free: 7.684 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005764/0.8478, allocations: 2.319 MB / 0.9091 GB, free: 5.363 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.849, allocations: 0.6657 MB / 0.9098 GB, free: 4.566 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00569/0.8547, allocations: 2.374 MB / 0.9121 GB, free: 2.156 MB / 0.67 GB Notification: Performance of pre-optimization done (n=257): time 6.172e-06/0.8548, allocations: 4 kB / 0.9121 GB, free: 2.152 MB / 0.67 GB Notification: Performance of matching and sorting (n=257): time 0.01768/0.8724, allocations: 6.948 MB / 0.9189 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001773/0.8727, allocations: 210 kB / 0.9191 GB, free: 10.83 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004402/0.8771, allocations: 2.307 MB / 0.9213 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003769/0.8775, allocations: 69.7 kB / 0.9214 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/0.8789, allocations: 1.332 MB / 0.9227 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/0.8799, allocations: 0.8947 MB / 0.9236 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/0.881, allocations: 468.1 kB / 0.924 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8812, allocations: 301.1 kB / 0.9243 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004621/0.8858, allocations: 1.874 MB / 0.9261 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004849/0.8907, allocations: 2.184 MB / 0.9283 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009263/0.8999, allocations: 4.041 MB / 0.9322 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.9, allocations: 0 / 0.9322 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01114/0.9111, allocations: 4.664 MB / 0.9368 GB, free: 8.398 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.9112, allocations: 8 kB / 0.9368 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.9112, allocations: 4.109 kB / 0.9368 GB, free: 8.387 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006696/0.9119, allocations: 236.5 kB / 0.937 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003756/0.9156, allocations: 0.7606 MB / 0.9377 GB, free: 7.391 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00443/0.9201, allocations: 3.377 MB / 0.941 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/0.9236, allocations: 0.5234 MB / 0.9416 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/0.924, allocations: 107.9 kB / 0.9417 GB, free: 3.25 MB / 0.7012 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.002196/0.9262, allocations: 0.8827 MB / 0.9425 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/0.9273, allocations: 274.2 kB / 0.9428 GB, free: 2.09 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.9404, allocations: 5.274 MB / 0.9479 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.9404, allocations: 28 kB / 0.948 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.9404, allocations: 4 kB / 0.948 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.953e-05/0.9405, allocations: 19.88 kB / 0.948 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01907/0.9595, allocations: 8.819 MB / 0.9566 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.9596, allocations: 0 / 0.9566 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003763/0.9633, allocations: 0.7254 MB / 0.9573 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008577/0.9642, allocations: 262.4 kB / 0.9576 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003336/0.9646, allocations: 71.94 kB / 0.9576 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0053/0.9699, allocations: 5.241 MB / 0.9627 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9699, allocations: 0 / 0.9627 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/0.9875, allocations: 7.542 MB / 0.9701 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/0.9895, allocations: 0.7914 MB / 0.9709 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007354/0.9903, allocations: 55.94 kB / 0.9709 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/0.9935, allocations: 389.5 kB / 0.9713 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004059/0.9939, allocations: 169.8 kB / 0.9715 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002762/0.9942, allocations: 95.92 kB / 0.9716 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002931/0.9972, allocations: 1.692 MB / 0.9732 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9972, allocations: 0 / 0.9732 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003105/1, allocations: 0.9702 MB / 0.9742 GB, free: 1.312 MB / 0.7325 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 (251): * Single equations (assignments): 244 * 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.02028/1.021, allocations: 9.036 MB / 0.983 GB, free: 8.574 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01138/1.032, allocations: 4.55 MB / 0.9874 GB, free: 3.977 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.226e-06/1.032, allocations: 4.062 kB / 0.9874 GB, free: 3.973 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006205/1.038, allocations: 2.615 MB / 0.99 GB, free: 1.324 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/1.042, allocations: 0.6426 MB / 0.9906 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06262/1.105, allocations: 27.67 MB / 1.018 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00288/1.108, allocations: 2.37 MB / 1.02 GB, free: 2.262 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.004413/1.112, allocations: 1.098 MB / 1.021 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00274/1.115, allocations: 1.366 MB / 1.022 GB, free: 15.8 MB / 0.795 GB Notification: Performance of SimCode: time 1.062e-06/1.115, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4363/1.551, allocations: 66.38 MB / 1.087 GB, free: 301.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.18/18.73, allocations: 21.39 kB / 1.087 GB, free: 301.1 MB / 0.8106 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)