Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TestCase4,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IDEAS_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.006866/0.006866, allocations: 96.72 kB / 15.73 MB, free: 6 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.001473/0.001473, allocations: 185.9 kB / 16.67 MB, free: 5.93 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7897/0.7897, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 63.84 kB / 0.5809 GB, free: 8.043 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3694, allocations: 80.21 MB / 0.6592 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1691/0.5386, allocations: 156.7 MB / 0.8122 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0237/0.5623, allocations: 21.73 MB / 0.8334 GB, free: 3.094 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.5643, allocations: 51.69 kB / 0.8335 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.566, allocations: 1.169 MB / 0.8346 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.5676, allocations: 0.8718 MB / 0.8355 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.5689, allocations: 442.6 kB / 0.8359 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.5704, allocations: 1.255 MB / 0.8371 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009605/0.5714, allocations: 0.6981 MB / 0.8378 GB, free: 14.61 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008729/0.5723, allocations: 0.5491 MB / 0.8383 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.5734, allocations: 0.9255 MB / 0.8392 GB, free: 13.13 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.5736, allocations: 64 kB / 0.8393 GB, free: 13.07 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.5739, allocations: 112 kB / 0.8394 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.5742, allocations: 320.7 kB / 0.8397 GB, free: 12.65 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.5747, allocations: 484.8 kB / 0.8402 GB, free: 12.17 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.5759, allocations: 1.211 MB / 0.8414 GB, free: 10.96 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.576, allocations: 0 / 0.8414 GB, free: 10.96 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.413e-06/0.576, allocations: 0 / 0.8414 GB, free: 10.96 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.062e-05/0.576, allocations: 0 / 0.8414 GB, free: 10.96 MB / 0.67 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.002496/0.5785, allocations: 1.529 MB / 0.8429 GB, free: 9.375 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5786, allocations: 12.03 kB / 0.8429 GB, free: 9.363 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/0.5787, allocations: 82.72 kB / 0.843 GB, free: 9.273 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.579, allocations: 143.6 kB / 0.8431 GB, free: 9.133 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/0.5799, allocations: 0.6675 MB / 0.8437 GB, free: 8.41 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.58, allocations: 74.62 kB / 0.8438 GB, free: 8.332 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-05/0.5801, allocations: 48 kB / 0.8439 GB, free: 8.285 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009215/0.581, allocations: 0.5145 MB / 0.8444 GB, free: 7.762 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.5811, allocations: 0 / 0.8444 GB, free: 7.762 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.5811, allocations: 19.98 kB / 0.8444 GB, free: 7.742 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/0.5811, allocations: 19.94 kB / 0.8444 GB, free: 7.723 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008322/0.582, allocations: 415.7 kB / 0.8448 GB, free: 7.312 MB / 0.67 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.003526/0.5855, allocations: 2.792 MB / 0.8475 GB, free: 4.273 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.5866, allocations: 460.3 kB / 0.848 GB, free: 3.816 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005822/0.5872, allocations: 290.2 kB / 0.8482 GB, free: 3.531 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/0.5872, allocations: 4.328 kB / 0.8482 GB, free: 3.527 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005671/0.5878, allocations: 295.7 kB / 0.8485 GB, free: 3.23 MB / 0.67 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.5878, allocations: 3.938 kB / 0.8485 GB, free: 3.227 MB / 0.67 GB Notification: Performance of matching and sorting (n=45): time 0.002946/0.5908, allocations: 1.249 MB / 0.8497 GB, free: 1.926 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.5908, allocations: 55.41 kB / 0.8498 GB, free: 1.859 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.5926, allocations: 1.755 MB / 0.8515 GB, free: 96 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.5927, allocations: 37.7 kB / 0.8515 GB, free: 52 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/0.5931, allocations: 0.5144 MB / 0.8521 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.5932, allocations: 158.7 kB / 0.8522 GB, free: 15.38 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.5934, allocations: 98.23 kB / 0.8523 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5935, allocations: 329.9 kB / 0.8526 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.594, allocations: 224.9 kB / 0.8528 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.5945, allocations: 324.9 kB / 0.8531 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009213/0.5955, allocations: 0.5041 MB / 0.8536 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.5955, allocations: 4.438 kB / 0.8536 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001605/0.5971, allocations: 0.856 MB / 0.8545 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5971, allocations: 8 kB / 0.8545 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.5971, allocations: 4 kB / 0.8545 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005082/0.5976, allocations: 184.6 kB / 0.8547 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.598, allocations: 99.98 kB / 0.8548 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/0.6014, allocations: 3.003 MB / 0.8577 GB, free: 9.535 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.6019, allocations: 75.62 kB / 0.8578 GB, free: 9.461 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.111e-05/0.6019, allocations: 16 kB / 0.8578 GB, free: 9.445 MB / 0.6856 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.0004508/0.6024, allocations: 392 kB / 0.8581 GB, free: 9.051 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.6025, allocations: 123.2 kB / 0.8583 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.6027, allocations: 139.7 kB / 0.8584 GB, free: 8.789 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.6027, allocations: 4 kB / 0.8584 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.6028, allocations: 4 kB / 0.8584 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6028, allocations: 0 / 0.8584 GB, free: 8.781 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.6052, allocations: 1.568 MB / 0.8599 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.6052, allocations: 8 kB / 0.8599 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.6055, allocations: 43.91 kB / 0.86 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/0.606, allocations: 197.6 kB / 0.8602 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.6061, allocations: 12 kB / 0.8602 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/0.6108, allocations: 4.547 MB / 0.8646 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6108, allocations: 0 / 0.8646 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.6127, allocations: 1.071 MB / 0.8657 GB, free: 0.9844 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002669/0.6129, allocations: 224.2 kB / 0.8659 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.613, allocations: 11.98 kB / 0.8659 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.6134, allocations: 27.97 kB / 0.8659 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.6135, allocations: 51.92 kB / 0.866 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.6136, allocations: 16 kB / 0.866 GB, free: 0.6406 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.2915/0.905, allocations: 1.278 MB / 0.8672 GB, free: 195.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9051, allocations: 0 / 0.8672 GB, free: 195.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001055/0.9061, allocations: 209.1 kB / 0.8674 GB, free: 195.2 MB / 0.6856 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.003125/0.9093, allocations: 1.986 MB / 0.8694 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001671/0.911, allocations: 0.7258 MB / 0.8701 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.911, allocations: 0 / 0.8701 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.912, allocations: 0.5526 MB / 0.8706 GB, free: 194.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.9131, allocations: 194.5 kB / 0.8708 GB, free: 194 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.9269, allocations: 8.615 MB / 0.8792 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007166/0.9276, allocations: 1.154 MB / 0.8803 GB, free: 189.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003682/0.928, allocations: 91.64 kB / 0.8804 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/0.9284, allocations: 408 kB / 0.8808 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of SimCode: time 1.062e-06/0.9284, allocations: 0 / 0.8808 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/0.9768, allocations: 21.23 MB / 0.9016 GB, free: 179.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.32, allocations: 5.859 kB / 0.9016 GB, free: 179.4 MB / 0.6856 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)