Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.00108/0.00108, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7831/0.7831, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 58.31 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1876, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.6078/0.7955, allocations: 157.5 MB / 0.813 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02934/0.8249, allocations: 22.04 MB / 0.8345 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002455/0.8274, allocations: 60.25 kB / 0.8346 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00274/0.8302, allocations: 2.175 MB / 0.8367 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.8328, allocations: 1.468 MB / 0.8381 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.8346, allocations: 0.6171 MB / 0.8387 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003029/0.8377, allocations: 1.93 MB / 0.8406 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.8393, allocations: 1.134 MB / 0.8417 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.841, allocations: 0.9161 MB / 0.8426 GB, free: 2.371 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.8433, allocations: 1.593 MB / 0.8442 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002527/0.8436, allocations: 97.31 kB / 0.8443 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.8442, allocations: 143.1 kB / 0.8444 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005806/0.8447, allocations: 0.5593 MB / 0.8449 GB, free: 2.355 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008911/0.8457, allocations: 0.8 MB / 0.8457 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.8478, allocations: 1.945 MB / 0.8476 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.8479, allocations: 0 / 0.8476 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.116e-06/0.8479, allocations: 0.875 kB / 0.8476 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.308e-05/0.8479, allocations: 0 / 0.8476 GB, free: 1.789 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.004248/0.8522, allocations: 2.432 MB / 0.85 GB, free: 416 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.8523, allocations: 10.12 kB / 0.85 GB, free: 416 kB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.8524, allocations: 114.3 kB / 0.8501 GB, free: 376 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.8527, allocations: 253.6 kB / 0.8504 GB, free: 236 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.8541, allocations: 1.058 MB / 0.8514 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.8543, allocations: 95.42 kB / 0.8515 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.8544, allocations: 66.72 kB / 0.8515 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.8556, allocations: 0.7834 MB / 0.8523 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.8557, allocations: 4.5 kB / 0.8523 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.8557, allocations: 25.94 kB / 0.8523 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.8558, allocations: 18.84 kB / 0.8524 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.8569, allocations: 0.6375 MB / 0.853 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.8617, allocations: 3.723 MB / 0.8566 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.8632, allocations: 0.7391 MB / 0.8573 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007199/0.8639, allocations: 427.7 kB / 0.8577 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.864, allocations: 11.98 kB / 0.8578 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007786/0.8647, allocations: 456.2 kB / 0.8582 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.905e-06/0.8648, allocations: 1.062 kB / 0.8582 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.004161/0.8689, allocations: 1.835 MB / 0.86 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.869, allocations: 62.62 kB / 0.86 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/0.8724, allocations: 3.367 MB / 0.8633 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/0.8725, allocations: 40.08 kB / 0.8634 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006552/0.8731, allocations: 0.9345 MB / 0.8643 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/0.8734, allocations: 248.8 kB / 0.8645 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.8736, allocations: 138.9 kB / 0.8647 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8737, allocations: 341.2 kB / 0.865 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006702/0.8744, allocations: 319.2 kB / 0.8653 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007064/0.8751, allocations: 472.9 kB / 0.8657 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.8763, allocations: 0.7459 MB / 0.8665 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.8763, allocations: 0.8125 kB / 0.8665 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002247/0.8786, allocations: 1.263 MB / 0.8677 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.8786, allocations: 9.25 kB / 0.8677 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.8786, allocations: 5.062 kB / 0.8677 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006856/0.8793, allocations: 259.5 kB / 0.868 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.8798, allocations: 137 kB / 0.8681 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/0.8847, allocations: 4.761 MB / 0.8727 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009806/0.8858, allocations: 104.1 kB / 0.8728 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.8858, allocations: 30.91 kB / 0.8729 GB, free: 9.082 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008491/0.8867, allocations: 0.6109 MB / 0.8735 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002529/0.8869, allocations: 225.1 kB / 0.8737 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.8873, allocations: 262.4 kB / 0.8739 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.8873, allocations: 8.594 kB / 0.8739 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.8873, allocations: 3.375 kB / 0.8739 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.8873, allocations: 2.719 kB / 0.8739 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003407/0.8907, allocations: 2.412 MB / 0.8763 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8907, allocations: 0.9375 kB / 0.8763 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.8911, allocations: 71.69 kB / 0.8764 GB, free: 8.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/0.8916, allocations: 246.2 kB / 0.8766 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/0.8917, allocations: 27.97 kB / 0.8766 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004505/0.8962, allocations: 4.739 MB / 0.8813 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8962, allocations: 3.406 kB / 0.8813 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/0.8991, allocations: 1.645 MB / 0.8829 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005731/0.8997, allocations: 332 kB / 0.8832 GB, free: 4.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.8998, allocations: 20.25 kB / 0.8832 GB, free: 4.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.9003, allocations: 38.73 kB / 0.8832 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.9005, allocations: 77.12 kB / 0.8833 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/0.9005, allocations: 24.59 kB / 0.8833 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002461/0.903, allocations: 2.462 MB / 0.8857 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.903, allocations: 0 / 0.8857 GB, free: 3.328 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001/0.904, allocations: 302 kB / 0.886 GB, free: 3.273 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003916/0.908, allocations: 2.595 MB / 0.8886 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002058/0.91, allocations: 1.095 MB / 0.8896 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.9101, allocations: 8.188 kB / 0.8896 GB, free: 1.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.9111, allocations: 0.7065 MB / 0.8903 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.9127, allocations: 292.5 kB / 0.8906 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02023/0.933, allocations: 14.17 MB / 0.9045 GB, free: 3.555 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.9341, allocations: 1.552 MB / 0.906 GB, free: 1.973 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004878/0.9346, allocations: 161.8 kB / 0.9061 GB, free: 1.812 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/0.9354, allocations: 0.7492 MB / 0.9069 GB, free: 1.062 MB / 0.67 GB Notification: Performance of SimCode: time 6.71e-07/0.9354, allocations: 0 / 0.9069 GB, free: 1.062 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06576/1.001, allocations: 34.18 MB / 0.9402 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.38, allocations: 17.23 kB / 0.9402 GB, free: 15.33 MB / 0.7169 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)