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.006175/0.006175, allocations: 103.2 kB / 15.74 MB, free: 6.059 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.001534/0.001534, allocations: 188.9 kB / 16.67 MB, free: 5.969 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.588/1.588, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8712/0.8712, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001986, allocations: 70.42 kB / 0.5808 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1562, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5513/0.7075, allocations: 156.7 MB / 0.8122 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03034/0.7379, allocations: 21.73 MB / 0.8334 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/0.7404, allocations: 53.22 kB / 0.8335 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001919/0.7424, allocations: 1.157 MB / 0.8346 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001947/0.7443, allocations: 0.8486 MB / 0.8355 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.7459, allocations: 456.6 kB / 0.8359 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00174/0.7476, allocations: 1.269 MB / 0.8371 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.7487, allocations: 0.6777 MB / 0.8378 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.7498, allocations: 0.553 MB / 0.8383 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.7512, allocations: 0.9155 MB / 0.8392 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.7514, allocations: 65.09 kB / 0.8393 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003542/0.7518, allocations: 113.3 kB / 0.8394 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.7521, allocations: 322.7 kB / 0.8397 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005892/0.7527, allocations: 491.9 kB / 0.8402 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.7541, allocations: 1.208 MB / 0.8413 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7542, allocations: 0 / 0.8413 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7542, allocations: 0 / 0.8413 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.927e-05/0.7542, allocations: 0 / 0.8413 GB, free: 8.113 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.002695/0.7569, allocations: 1.519 MB / 0.8428 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.757, allocations: 11.97 kB / 0.8428 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.7571, allocations: 85.8 kB / 0.8429 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002159/0.7573, allocations: 141 kB / 0.8431 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009555/0.7583, allocations: 0.6743 MB / 0.8437 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.7584, allocations: 74.17 kB / 0.8438 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.606e-05/0.7585, allocations: 46 kB / 0.8438 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009579/0.7595, allocations: 0.5184 MB / 0.8443 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.7595, allocations: 2.844 kB / 0.8443 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.882e-05/0.7596, allocations: 22.41 kB / 0.8444 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.7596, allocations: 10.22 kB / 0.8444 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/0.7604, allocations: 414.4 kB / 0.8448 GB, free: 5.578 MB / 0.6075 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.003886/0.7643, allocations: 2.799 MB / 0.8475 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.7654, allocations: 460.8 kB / 0.8479 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005781/0.766, allocations: 285.1 kB / 0.8482 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.766, allocations: 9.297 kB / 0.8482 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005554/0.7666, allocations: 298 kB / 0.8485 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.204e-06/0.7666, allocations: 0 / 0.8485 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002967/0.7696, allocations: 1.236 MB / 0.8497 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.7696, allocations: 60.11 kB / 0.8498 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001919/0.7716, allocations: 1.761 MB / 0.8515 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.7717, allocations: 37.7 kB / 0.8515 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.7721, allocations: 0.5183 MB / 0.852 GB, free: 160 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.7723, allocations: 154.7 kB / 0.8522 GB, free: 4 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001871/0.7725, allocations: 98.19 kB / 0.8523 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.7726, allocations: 329.9 kB / 0.8526 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005286/0.7732, allocations: 221 kB / 0.8528 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.7738, allocations: 324.9 kB / 0.8531 GB, free: 15 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009779/0.7748, allocations: 0.5082 MB / 0.8536 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.7748, allocations: 0 / 0.8536 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001774/0.7766, allocations: 0.8514 MB / 0.8544 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.7766, allocations: 8 kB / 0.8544 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7766, allocations: 4.125 kB / 0.8544 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/0.7772, allocations: 188.6 kB / 0.8546 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.7776, allocations: 95.88 kB / 0.8547 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.7814, allocations: 3.004 MB / 0.8577 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/0.782, allocations: 75.69 kB / 0.8577 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.7821, allocations: 20 kB / 0.8577 GB, free: 10.07 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.0005888/0.7827, allocations: 387.3 kB / 0.8581 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.7829, allocations: 123.2 kB / 0.8582 GB, free: 9.559 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.7832, allocations: 143.7 kB / 0.8584 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.7832, allocations: 8 kB / 0.8584 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.7832, allocations: 4 kB / 0.8584 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.7832, allocations: 3.984 kB / 0.8584 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.786, allocations: 1.564 MB / 0.8599 GB, free: 7.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.7861, allocations: 3.984 kB / 0.8599 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.7863, allocations: 47.91 kB / 0.86 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.7868, allocations: 189.6 kB / 0.8601 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.7869, allocations: 15.98 kB / 0.8602 GB, free: 7.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.7919, allocations: 4.557 MB / 0.8646 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.7919, allocations: 0 / 0.8646 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.794, allocations: 1.067 MB / 0.8656 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.7944, allocations: 220.2 kB / 0.8659 GB, free: 1.367 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.7946, allocations: 8 kB / 0.8659 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.795, allocations: 31.97 kB / 0.8659 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.7951, allocations: 51.92 kB / 0.8659 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.7952, allocations: 19.98 kB / 0.866 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00167/0.7968, allocations: 1.277 MB / 0.8672 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7969, allocations: 3.938 kB / 0.8672 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008976/0.7978, allocations: 207.7 kB / 0.8674 GB, free: 15.77 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.004033/0.8018, allocations: 1.984 MB / 0.8693 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00167/0.8035, allocations: 0.7228 MB / 0.8701 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8035, allocations: 0 / 0.8701 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009894/0.8045, allocations: 0.5596 MB / 0.8706 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.8057, allocations: 205.3 kB / 0.8708 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.82, allocations: 8.609 MB / 0.8792 GB, free: 3.645 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009559/0.821, allocations: 1.153 MB / 0.8803 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003356/0.8214, allocations: 92.7 kB / 0.8804 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.8219, allocations: 411.3 kB / 0.8808 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/0.8219, allocations: 3.938 kB / 0.8808 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/0.8815, allocations: 21.22 MB / 0.9015 GB, free: 13.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.73, allocations: 7.875 kB / 0.9015 GB, free: 13.01 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)