Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.TestCase4,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.00642/0.00642, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001344/0.001344, allocations: 189.9 kB / 16.67 MB, free: 5.934 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8388/0.8388, allocations: 135.6 MB / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 70.8 kB / 0.5857 GB, free: 21.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 81.02 MB / 0.6648 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4834/0.6325, allocations: 156.7 MB / 0.8179 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.6584, allocations: 21.75 MB / 0.8391 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.6603, allocations: 54.75 kB / 0.8392 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.6619, allocations: 1.159 MB / 0.8403 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00142/0.6633, allocations: 0.8559 MB / 0.8411 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.6644, allocations: 446.6 kB / 0.8416 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.6658, allocations: 1.26 MB / 0.8428 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008615/0.6667, allocations: 0.6882 MB / 0.8435 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00067/0.6673, allocations: 0.5502 MB / 0.844 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009714/0.6683, allocations: 0.915 MB / 0.8449 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.6684, allocations: 65.41 kB / 0.845 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.6687, allocations: 112.8 kB / 0.8451 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.669, allocations: 311.4 kB / 0.8454 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000463/0.6695, allocations: 491.8 kB / 0.8458 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.6708, allocations: 1.21 MB / 0.847 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.6709, allocations: 0 / 0.847 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6709, allocations: 4 kB / 0.847 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.918e-05/0.6709, allocations: 2.469 kB / 0.847 GB, free: 1.438 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002406/0.6733, allocations: 1.519 MB / 0.8485 GB, free: 244 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.6733, allocations: 10.45 kB / 0.8485 GB, free: 244 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.6735, allocations: 82.27 kB / 0.8486 GB, free: 168 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.6736, allocations: 142.6 kB / 0.8487 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008907/0.6745, allocations: 0.6763 MB / 0.8494 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.6747, allocations: 70.34 kB / 0.8495 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.52e-05/0.6747, allocations: 50.2 kB / 0.8495 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009217/0.6757, allocations: 0.5222 MB / 0.85 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6757, allocations: 0 / 0.85 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.6758, allocations: 17.12 kB / 0.85 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.6758, allocations: 10.12 kB / 0.85 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000837/0.6766, allocations: 418.5 kB / 0.8504 GB, free: 14.91 MB / 0.6231 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.00382/0.6804, allocations: 2.791 MB / 0.8532 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009972/0.6815, allocations: 456.2 kB / 0.8536 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.682, allocations: 290.7 kB / 0.8539 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.6821, allocations: 11.27 kB / 0.8539 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005726/0.6827, allocations: 300.5 kB / 0.8542 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.064e-06/0.6827, allocations: 0 / 0.8542 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.003307/0.686, allocations: 1.24 MB / 0.8554 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.6861, allocations: 59.41 kB / 0.8554 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.6882, allocations: 1.752 MB / 0.8572 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.749e-05/0.6882, allocations: 41.69 kB / 0.8572 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.6887, allocations: 0.5183 MB / 0.8577 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.6889, allocations: 158.7 kB / 0.8579 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001612/0.6891, allocations: 98.69 kB / 0.8579 GB, free: 8.066 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.6892, allocations: 326 kB / 0.8583 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.6897, allocations: 213 kB / 0.8585 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.6904, allocations: 332.8 kB / 0.8588 GB, free: 7.172 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009717/0.6913, allocations: 0.5186 MB / 0.8593 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6914, allocations: 7.938 kB / 0.8593 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001763/0.6931, allocations: 0.8419 MB / 0.8601 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6932, allocations: 8 kB / 0.8601 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.6932, allocations: 4 kB / 0.8601 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.6937, allocations: 184.9 kB / 0.8603 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003697/0.6941, allocations: 95.81 kB / 0.8604 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003796/0.6979, allocations: 3.016 MB / 0.8633 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005669/0.6985, allocations: 75.58 kB / 0.8634 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.6986, allocations: 20 kB / 0.8634 GB, free: 2.223 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006256/0.6992, allocations: 387.4 kB / 0.8638 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.6994, allocations: 119.2 kB / 0.8639 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.6996, allocations: 139.7 kB / 0.864 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.6996, allocations: 4 kB / 0.8641 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/0.6996, allocations: 4 kB / 0.8641 GB, free: 1.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.6997, allocations: 3.984 kB / 0.8641 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.7023, allocations: 1.567 MB / 0.8656 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7023, allocations: 0 / 0.8656 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.7026, allocations: 47.91 kB / 0.8656 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/0.7031, allocations: 190.6 kB / 0.8658 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/0.7031, allocations: 19.98 kB / 0.8658 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/0.7081, allocations: 4.553 MB / 0.8703 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7081, allocations: 0 / 0.8703 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.7102, allocations: 1.075 MB / 0.8713 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.7105, allocations: 216.2 kB / 0.8715 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.7106, allocations: 15.98 kB / 0.8716 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003115/0.7109, allocations: 31.97 kB / 0.8716 GB, free: 9.469 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.7111, allocations: 47.92 kB / 0.8716 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.7111, allocations: 20 kB / 0.8716 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001538/0.7127, allocations: 1.277 MB / 0.8729 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7127, allocations: 0 / 0.8729 GB, free: 8.121 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000771/0.7134, allocations: 207.7 kB / 0.8731 GB, free: 7.918 MB / 0.6387 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.003845/0.7173, allocations: 1.989 MB / 0.875 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.7189, allocations: 0.7199 MB / 0.8757 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7189, allocations: 128 / 0.8757 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009433/0.7199, allocations: 0.5593 MB / 0.8763 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.7209, allocations: 199 kB / 0.8765 GB, free: 4.586 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.7338, allocations: 8.61 MB / 0.8849 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/0.7347, allocations: 1.146 MB / 0.886 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003033/0.735, allocations: 96.77 kB / 0.8861 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.7355, allocations: 403.3 kB / 0.8865 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.7355, allocations: 0 / 0.8865 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/0.7929, allocations: 21.24 MB / 0.9072 GB, free: 5.133 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.19, allocations: 13.73 kB / 0.9072 GB, free: 5.121 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_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_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)