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.001658/0.001658, 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.002048/0.002048, allocations: 193.9 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8372/0.8372, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.92 kB / 0.5019 GB, free: 3.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.39, allocations: 80.19 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1612/0.5513, allocations: 156.7 MB / 0.7332 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.5763, allocations: 21.73 MB / 0.7545 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.5781, allocations: 55.69 kB / 0.7545 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.5797, allocations: 1.153 MB / 0.7556 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.581, allocations: 0.8562 MB / 0.7565 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.5822, allocations: 444.1 kB / 0.7569 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.5834, allocations: 1.259 MB / 0.7581 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008853/0.5843, allocations: 0.6814 MB / 0.7588 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007017/0.585, allocations: 0.5451 MB / 0.7593 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.5861, allocations: 0.9138 MB / 0.7602 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.5862, allocations: 68 kB / 0.7603 GB, free: 8.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.5865, allocations: 115.9 kB / 0.7604 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.5867, allocations: 312.8 kB / 0.7607 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.5872, allocations: 496.8 kB / 0.7612 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.5882, allocations: 1.183 MB / 0.7623 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5882, allocations: 0 / 0.7623 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5882, allocations: 0 / 0.7623 GB, free: 6.383 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.5882, allocations: 0 / 0.7623 GB, free: 6.383 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.002168/0.5904, allocations: 1.478 MB / 0.7638 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.5904, allocations: 8.031 kB / 0.7638 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.5906, allocations: 86.72 kB / 0.7639 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.5908, allocations: 142.8 kB / 0.764 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007591/0.5915, allocations: 0.6431 MB / 0.7646 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.5917, allocations: 74.69 kB / 0.7647 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/0.5917, allocations: 47.91 kB / 0.7647 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000913/0.5927, allocations: 0.5262 MB / 0.7653 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.5927, allocations: 7.938 kB / 0.7653 GB, free: 3.242 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.5927, allocations: 16 kB / 0.7653 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5928, allocations: 11.94 kB / 0.7653 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.5936, allocations: 411.7 kB / 0.7657 GB, free: 2.809 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.003474/0.5971, allocations: 2.803 MB / 0.7684 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.5981, allocations: 462.8 kB / 0.7689 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.5987, allocations: 289.3 kB / 0.7691 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.5987, allocations: 8.656 kB / 0.7691 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005515/0.5993, allocations: 298.9 kB / 0.7694 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.294e-06/0.5993, allocations: 0 / 0.7694 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002957/0.6023, allocations: 1.237 MB / 0.7706 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.6023, allocations: 59.31 kB / 0.7707 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.6041, allocations: 1.755 MB / 0.7724 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.6041, allocations: 41.64 kB / 0.7725 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.6045, allocations: 0.5179 MB / 0.773 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.6047, allocations: 145.9 kB / 0.7731 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.6048, allocations: 94.25 kB / 0.7732 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.6049, allocations: 329.9 kB / 0.7735 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.6054, allocations: 225 kB / 0.7737 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.606, allocations: 324.9 kB / 0.774 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000914/0.6069, allocations: 0.5117 MB / 0.7745 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6069, allocations: 3.938 kB / 0.7745 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001646/0.6086, allocations: 0.8374 MB / 0.7753 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6086, allocations: 18.47 kB / 0.7754 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6086, allocations: 0 / 0.7754 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005087/0.6091, allocations: 184.7 kB / 0.7755 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.6095, allocations: 95.88 kB / 0.7756 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003423/0.6129, allocations: 2.995 MB / 0.7786 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.6134, allocations: 79.55 kB / 0.7786 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.6134, allocations: 16 kB / 0.7786 GB, free: 4.953 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.000454/0.6139, allocations: 392 kB / 0.779 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.614, allocations: 118.4 kB / 0.7791 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.6142, allocations: 147.6 kB / 0.7793 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6142, allocations: 7.984 kB / 0.7793 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.6143, allocations: 4 kB / 0.7793 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6143, allocations: 0 / 0.7793 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.6168, allocations: 1.563 MB / 0.7808 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.6168, allocations: 0 / 0.7808 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.6171, allocations: 47.91 kB / 0.7809 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/0.6176, allocations: 193.6 kB / 0.781 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.6176, allocations: 15.98 kB / 0.7811 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004464/0.6221, allocations: 4.56 MB / 0.7855 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6221, allocations: 0 / 0.7855 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.6241, allocations: 1.057 MB / 0.7865 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.6244, allocations: 211.6 kB / 0.7867 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.6245, allocations: 8 kB / 0.7868 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.6248, allocations: 31.97 kB / 0.7868 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.625, allocations: 55.86 kB / 0.7868 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.625, allocations: 15.98 kB / 0.7869 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001378/0.6264, allocations: 1.288 MB / 0.7881 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.6264, allocations: 0 / 0.7881 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000841/0.6273, allocations: 195.7 kB / 0.7883 GB, free: 10.67 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.00326/0.6306, allocations: 1.987 MB / 0.7902 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.6324, allocations: 0.7624 MB / 0.791 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6324, allocations: 0 / 0.791 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009158/0.6334, allocations: 0.5485 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.001122/0.6345, allocations: 206.4 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.0129/0.6474, allocations: 9.135 MB / 0.8006 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007719/0.6482, allocations: 1.153 MB / 0.8018 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003492/0.6486, allocations: 92.72 kB / 0.8018 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/0.6491, allocations: 407.3 kB / 0.8022 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of SimCode: time 7.32e-07/0.6491, allocations: 0 / 0.8022 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2692/0.9183, allocations: 20.83 MB / 0.8226 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.398/10.32, allocations: 9.172 kB / 0.8226 GB, free: 217.8 MB / 0.6387 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)