Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001104/0.001104, 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.0009868/0.0009867, allocations: 193.4 kB / 16.25 MB, free: 6.625 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.248/1.248, allocations: 222.9 MB / 239.9 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7537/0.7537, allocations: 132.2 MB / 422.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 58.62 kB / 0.5013 GB, free: 9.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1301, allocations: 80.22 MB / 0.5797 GB, free: 9.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.3398/0.47, allocations: 154.5 MB / 0.7306 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02056/0.4906, allocations: 21.49 MB / 0.7516 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001406/0.492, allocations: 49.69 kB / 0.7516 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.4933, allocations: 1.133 MB / 0.7527 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.4944, allocations: 0.8214 MB / 0.7535 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.4952, allocations: 379.9 kB / 0.7539 GB, free: 412 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009931/0.4962, allocations: 1.26 MB / 0.7551 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006901/0.4969, allocations: 0.6896 MB / 0.7558 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.4974, allocations: 0.5529 MB / 0.7564 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008544/0.4983, allocations: 0.9528 MB / 0.7573 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.916e-05/0.4984, allocations: 71.94 kB / 0.7574 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.4986, allocations: 112 kB / 0.7575 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.4989, allocations: 336.6 kB / 0.7578 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.4992, allocations: 492.8 kB / 0.7583 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009182/0.5001, allocations: 1.183 MB / 0.7594 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5002, allocations: 0 / 0.7594 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.5002, allocations: 0 / 0.7594 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.5002, allocations: 4 kB / 0.7594 GB, free: 11.06 MB / 0.5762 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.001957/0.5021, allocations: 1.471 MB / 0.7608 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.5022, allocations: 8.031 kB / 0.7609 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.837e-05/0.5023, allocations: 90.64 kB / 0.7609 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.5024, allocations: 135.2 kB / 0.7611 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.5032, allocations: 0.6508 MB / 0.7617 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.5033, allocations: 78.69 kB / 0.7618 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.938e-05/0.5034, allocations: 55.89 kB / 0.7618 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008651/0.5043, allocations: 0.5145 MB / 0.7623 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.5043, allocations: 4 kB / 0.7623 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/0.5043, allocations: 16 kB / 0.7624 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.5043, allocations: 15.98 kB / 0.7624 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007943/0.5051, allocations: 415.6 kB / 0.7628 GB, free: 7.492 MB / 0.5762 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.003092/0.5082, allocations: 2.731 MB / 0.7654 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008882/0.5091, allocations: 447.6 kB / 0.7659 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/0.5097, allocations: 302 kB / 0.7661 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.5098, allocations: 8.594 kB / 0.7662 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/0.5103, allocations: 283 kB / 0.7664 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 1.864e-06/0.5103, allocations: 0 / 0.7664 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002453/0.5128, allocations: 1.149 MB / 0.7675 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.5128, allocations: 59.41 kB / 0.7676 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.5145, allocations: 1.76 MB / 0.7693 GB, free: 464 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/0.5145, allocations: 41.69 kB / 0.7694 GB, free: 416 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.5149, allocations: 0.5249 MB / 0.7699 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.515, allocations: 142.1 kB / 0.77 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.5152, allocations: 98.16 kB / 0.7701 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5153, allocations: 337.9 kB / 0.7704 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.5157, allocations: 209 kB / 0.7706 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.5162, allocations: 339.1 kB / 0.771 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008551/0.5171, allocations: 0.5226 MB / 0.7715 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5171, allocations: 0 / 0.7715 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001431/0.5185, allocations: 0.7954 MB / 0.7722 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.5186, allocations: 8.219 kB / 0.7722 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5186, allocations: 8 kB / 0.7723 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.519, allocations: 148.6 kB / 0.7724 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.5193, allocations: 103.8 kB / 0.7725 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.522, allocations: 2.602 MB / 0.775 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.5224, allocations: 83.45 kB / 0.7751 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.5224, allocations: 24 kB / 0.7751 GB, free: 10.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003921/0.5228, allocations: 382.7 kB / 0.7755 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.523, allocations: 122.4 kB / 0.7756 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.5231, allocations: 147.7 kB / 0.7758 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5232, allocations: 4 kB / 0.7758 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.5232, allocations: 4 kB / 0.7758 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.5232, allocations: 0 / 0.7758 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.5253, allocations: 1.494 MB / 0.7772 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.5253, allocations: 0 / 0.7772 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.5255, allocations: 47.89 kB / 0.7773 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003727/0.5259, allocations: 161.6 kB / 0.7774 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.23e-05/0.526, allocations: 12 kB / 0.7774 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003392/0.5294, allocations: 4.035 MB / 0.7814 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5294, allocations: 8 kB / 0.7814 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.531, allocations: 0.9793 MB / 0.7823 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.5312, allocations: 219.6 kB / 0.7826 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.791e-05/0.5313, allocations: 12 kB / 0.7826 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/0.5316, allocations: 39.88 kB / 0.7826 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.5317, allocations: 55.86 kB / 0.7827 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.5318, allocations: 15.98 kB / 0.7827 GB, free: 2.129 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001211/0.533, allocations: 1.289 MB / 0.7839 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.473e-06/0.533, allocations: 0 / 0.7839 GB, free: 0.8359 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006225/0.5336, allocations: 199.6 kB / 0.7841 GB, free: 0.6406 MB / 0.5919 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,12,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.002784/0.5364, allocations: 1.908 MB / 0.786 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.5377, allocations: 0.6959 MB / 0.7867 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5378, allocations: 3.938 kB / 0.7867 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007526/0.5385, allocations: 0.5209 MB / 0.7872 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009219/0.5395, allocations: 204.3 kB / 0.7874 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.5509, allocations: 9.328 MB / 0.7965 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/0.5516, allocations: 1.149 MB / 0.7976 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002747/0.5519, allocations: 96.77 kB / 0.7977 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/0.5523, allocations: 411.2 kB / 0.7981 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.5523, allocations: 0 / 0.7981 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.475/3.027, allocations: 20.14 MB / 0.8178 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002529/3.028, allocations: 268.4 kB / 0.818 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/5.14, allocations: 0 / 0.818 GB, free: 13.9 MB / 0.6387 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)