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.0014/0.0014, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001619/0.001619, allocations: 189.7 kB / 16.25 MB, free: 6.617 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7523/0.7523, allocations: 132.2 MB / 422.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.16 kB / 0.5014 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3087, allocations: 80.21 MB / 0.5797 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1349/0.4435, allocations: 154.6 MB / 0.7306 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0196/0.4632, allocations: 21.49 MB / 0.7516 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.4642, allocations: 47.75 kB / 0.7517 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001178/0.4654, allocations: 1.126 MB / 0.7528 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0009404/0.4664, allocations: 0.8177 MB / 0.7536 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007051/0.4671, allocations: 388.8 kB / 0.7539 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009175/0.468, allocations: 1.259 MB / 0.7552 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006165/0.4687, allocations: 0.6852 MB / 0.7558 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.4691, allocations: 0.553 MB / 0.7564 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007735/0.4699, allocations: 0.9606 MB / 0.7573 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.694e-05/0.47, allocations: 64 kB / 0.7574 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.4702, allocations: 112 kB / 0.7575 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.4704, allocations: 332.7 kB / 0.7578 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003193/0.4707, allocations: 492.8 kB / 0.7583 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008197/0.4716, allocations: 1.187 MB / 0.7594 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.4716, allocations: 0 / 0.7594 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4716, allocations: 0 / 0.7594 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.4716, allocations: 0 / 0.7594 GB, free: 9.043 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.001787/0.4734, allocations: 1.48 MB / 0.7609 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.4734, allocations: 12.03 kB / 0.7609 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.72e-05/0.4735, allocations: 78.7 kB / 0.7609 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.4737, allocations: 142.8 kB / 0.7611 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006388/0.4743, allocations: 0.643 MB / 0.7617 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.4744, allocations: 78.67 kB / 0.7618 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-05/0.4745, allocations: 51.91 kB / 0.7618 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007926/0.4753, allocations: 0.5223 MB / 0.7623 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4753, allocations: 0 / 0.7623 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.775e-05/0.4754, allocations: 16 kB / 0.7624 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.4754, allocations: 15.94 kB / 0.7624 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007056/0.4761, allocations: 407.7 kB / 0.7628 GB, free: 5.48 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.002823/0.4789, allocations: 2.803 MB / 0.7655 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000838/0.4798, allocations: 455.3 kB / 0.7659 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.4802, allocations: 285.3 kB / 0.7662 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.4803, allocations: 4.656 kB / 0.7662 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004789/0.4808, allocations: 306.8 kB / 0.7665 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.4808, allocations: 0 / 0.7665 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002484/0.4833, allocations: 1.241 MB / 0.7677 GB, free: 92 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.4833, allocations: 63.38 kB / 0.7678 GB, free: 16 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.4848, allocations: 1.748 MB / 0.7695 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.688e-05/0.4848, allocations: 41.7 kB / 0.7695 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.4852, allocations: 0.5179 MB / 0.77 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4853, allocations: 145.9 kB / 0.7702 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.4854, allocations: 98.19 kB / 0.7703 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.4855, allocations: 333.9 kB / 0.7706 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.4859, allocations: 221 kB / 0.7708 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004598/0.4864, allocations: 332.9 kB / 0.7711 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.4872, allocations: 0.5113 MB / 0.7716 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4872, allocations: 0 / 0.7716 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001358/0.4886, allocations: 0.841 MB / 0.7724 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4886, allocations: 8.219 kB / 0.7724 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4886, allocations: 4 kB / 0.7724 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004294/0.489, allocations: 186.8 kB / 0.7726 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.4894, allocations: 87.88 kB / 0.7727 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002909/0.4923, allocations: 3 MB / 0.7756 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003384/0.4926, allocations: 79.55 kB / 0.7757 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.4927, allocations: 20 kB / 0.7757 GB, free: 7.617 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.0003648/0.493, allocations: 395.9 kB / 0.7761 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.4932, allocations: 118.5 kB / 0.7762 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001737/0.4933, allocations: 139.7 kB / 0.7764 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.4934, allocations: 4 kB / 0.7764 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4934, allocations: 4 kB / 0.7764 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.4934, allocations: 3.984 kB / 0.7764 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.4954, allocations: 1.559 MB / 0.7779 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4954, allocations: 0 / 0.7779 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000201/0.4956, allocations: 47.97 kB / 0.7779 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/0.496, allocations: 197.6 kB / 0.7781 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.4961, allocations: 12 kB / 0.7781 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/0.4998, allocations: 4.56 MB / 0.7826 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4998, allocations: 0 / 0.7826 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.5014, allocations: 1.057 MB / 0.7836 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.5016, allocations: 211.6 kB / 0.7838 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.5017, allocations: 19.92 kB / 0.7838 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002939/0.502, allocations: 35.91 kB / 0.7839 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.5021, allocations: 51.92 kB / 0.7839 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.5021, allocations: 19.98 kB / 0.7839 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001105/0.5032, allocations: 1.284 MB / 0.7852 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.5032, allocations: 0 / 0.7852 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006148/0.5038, allocations: 215.6 kB / 0.7854 GB, free: 13.31 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.002654/0.5065, allocations: 1.975 MB / 0.7873 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.5078, allocations: 0.7595 MB / 0.7881 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5078, allocations: 0 / 0.7881 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/0.5086, allocations: 0.5484 MB / 0.7886 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008282/0.5094, allocations: 204.2 kB / 0.7888 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.52, allocations: 9.412 MB / 0.798 GB, free: 172 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.5206, allocations: 1.149 MB / 0.7991 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000228/0.5208, allocations: 96.72 kB / 0.7992 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/0.5212, allocations: 407.3 kB / 0.7996 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of SimCode: time 2.41e-07/0.5212, allocations: 0 / 0.7996 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.552/3.073, allocations: 20.52 MB / 0.8196 GB, free: 220 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/3.073, allocations: 271 kB / 0.8199 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/5.229, allocations: 0.8438 kB / 0.8199 GB, free: 219.6 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)