Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001381/0.001381, allocations: 108 kB / 15.61 MB, free: 152 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.001669/0.001669, allocations: 193.2 kB / 16.53 MB, free: 6.664 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7511/0.7511, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 65.22 kB / 0.5019 GB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3598, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.1597/0.5195, allocations: 156.7 MB / 0.7332 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02242/0.5419, allocations: 21.74 MB / 0.7545 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.5435, allocations: 55.69 kB / 0.7545 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.545, allocations: 1.153 MB / 0.7556 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001283/0.5463, allocations: 0.8562 MB / 0.7565 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.5473, allocations: 441.8 kB / 0.7569 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001126/0.5484, allocations: 1.251 MB / 0.7581 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007646/0.5492, allocations: 0.6853 MB / 0.7588 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.5498, allocations: 0.5491 MB / 0.7593 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008869/0.5507, allocations: 0.9138 MB / 0.7602 GB, free: 8.535 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.5508, allocations: 64 kB / 0.7603 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002255/0.551, allocations: 112 kB / 0.7604 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.5513, allocations: 320.7 kB / 0.7607 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.5517, allocations: 488.8 kB / 0.7612 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009746/0.5526, allocations: 1.183 MB / 0.7623 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5526, allocations: 3.938 kB / 0.7623 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5527, allocations: 0 / 0.7623 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.475e-05/0.5527, allocations: 0 / 0.7623 GB, free: 6.379 MB / 0.5919 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.002153/0.5548, allocations: 1.475 MB / 0.7638 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.5549, allocations: 12.03 kB / 0.7638 GB, free: 4.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.742e-05/0.555, allocations: 82.7 kB / 0.7639 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.5552, allocations: 146.8 kB / 0.764 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007433/0.5559, allocations: 0.6392 MB / 0.7646 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.556, allocations: 78.67 kB / 0.7647 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-05/0.5561, allocations: 51.91 kB / 0.7647 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008794/0.557, allocations: 0.5223 MB / 0.7653 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.557, allocations: 0 / 0.7653 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.5571, allocations: 19.94 kB / 0.7653 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.5571, allocations: 19.92 kB / 0.7653 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008193/0.5579, allocations: 419.6 kB / 0.7657 GB, free: 2.793 MB / 0.5919 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.003365/0.5613, allocations: 2.804 MB / 0.7684 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009722/0.5623, allocations: 455.1 kB / 0.7689 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005405/0.5629, allocations: 293.3 kB / 0.7691 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.5629, allocations: 4.656 kB / 0.7691 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005313/0.5634, allocations: 302.9 kB / 0.7694 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.504e-06/0.5635, allocations: 0 / 0.7694 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002832/0.5663, allocations: 1.233 MB / 0.7706 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.5663, allocations: 59.41 kB / 0.7707 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001644/0.568, allocations: 1.748 MB / 0.7724 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.568, allocations: 37.7 kB / 0.7724 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.5684, allocations: 0.5256 MB / 0.773 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.5686, allocations: 145.9 kB / 0.7731 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.5687, allocations: 98.23 kB / 0.7732 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.5688, allocations: 329.9 kB / 0.7735 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.5693, allocations: 221 kB / 0.7737 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.5698, allocations: 324.9 kB / 0.774 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.5707, allocations: 0.5152 MB / 0.7745 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5707, allocations: 0 / 0.7745 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001556/0.5723, allocations: 0.847 MB / 0.7754 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.5723, allocations: 4 kB / 0.7754 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.5723, allocations: 4.438 kB / 0.7754 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000499/0.5728, allocations: 184.9 kB / 0.7755 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/0.5732, allocations: 95.81 kB / 0.7756 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/0.5765, allocations: 3.007 MB / 0.7786 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.5769, allocations: 71.44 kB / 0.7786 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.577, allocations: 20 kB / 0.7787 GB, free: 4.941 MB / 0.6075 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.0004371/0.5774, allocations: 392 kB / 0.779 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.5775, allocations: 118.5 kB / 0.7791 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.5778, allocations: 139.7 kB / 0.7793 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.5778, allocations: 8 kB / 0.7793 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.5778, allocations: 0 / 0.7793 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.5778, allocations: 3.984 kB / 0.7793 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.5801, allocations: 1.567 MB / 0.7808 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5801, allocations: 4 kB / 0.7808 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.5803, allocations: 43.97 kB / 0.7809 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/0.5808, allocations: 197.5 kB / 0.781 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.5809, allocations: 8 kB / 0.7811 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003979/0.5848, allocations: 4.566 MB / 0.7855 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5849, allocations: 0 / 0.7855 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.5866, allocations: 1.057 MB / 0.7865 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.5869, allocations: 211.6 kB / 0.7867 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.19e-05/0.587, allocations: 15.98 kB / 0.7868 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.5873, allocations: 23.97 kB / 0.7868 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.5874, allocations: 59.92 kB / 0.7868 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.5875, allocations: 16 kB / 0.7869 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00121/0.5887, allocations: 1.28 MB / 0.7881 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5887, allocations: 0 / 0.7881 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007034/0.5894, allocations: 199.7 kB / 0.7883 GB, free: 10.66 MB / 0.6231 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.002898/0.5923, allocations: 1.983 MB / 0.7902 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.5938, allocations: 0.7615 MB / 0.791 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5939, allocations: 0 / 0.791 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008383/0.5947, allocations: 0.5446 MB / 0.7915 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.5957, allocations: 204.2 kB / 0.7917 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.6077, allocations: 9.144 MB / 0.8006 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008243/0.6086, allocations: 1.153 MB / 0.8018 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003708/0.609, allocations: 96.77 kB / 0.8019 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004791/0.6094, allocations: 403.3 kB / 0.8022 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of SimCode: time 1.463e-06/0.6095, allocations: 0 / 0.8022 GB, free: 12.11 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2683/0.8777, allocations: 20.84 MB / 0.8226 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.312/10.19, allocations: 5.953 kB / 0.8226 GB, free: 217.7 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_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_TestCase2.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)