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.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00165/0.001651, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.353/1.353, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7259/0.7259, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 59.72 kB / 0.5012 GB, free: 9.086 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1336, allocations: 80.2 MB / 0.5795 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.3551/0.4887, allocations: 154.4 MB / 0.7303 GB, free: 2.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02258/0.5114, allocations: 21.59 MB / 0.7514 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.5131, allocations: 49.56 kB / 0.7515 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.5146, allocations: 1.13 MB / 0.7526 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.5157, allocations: 0.8094 MB / 0.7533 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008989/0.5166, allocations: 391 kB / 0.7537 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001035/0.5177, allocations: 1.345 MB / 0.755 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006726/0.5183, allocations: 0.6115 MB / 0.7556 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005576/0.5189, allocations: 0.4905 MB / 0.7561 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009141/0.5198, allocations: 0.9059 MB / 0.757 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.739e-05/0.5199, allocations: 39.94 kB / 0.757 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.5202, allocations: 91.92 kB / 0.7571 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.5204, allocations: 304.8 kB / 0.7574 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.5208, allocations: 460.8 kB / 0.7579 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009205/0.5217, allocations: 1.152 MB / 0.759 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.5217, allocations: 0 / 0.759 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.5218, allocations: 0 / 0.759 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.5218, allocations: 0 / 0.759 GB, free: 11.25 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.002122/0.5239, allocations: 1.475 MB / 0.7604 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.5239, allocations: 12.03 kB / 0.7604 GB, free: 9.715 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.5241, allocations: 86.64 kB / 0.7605 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.5242, allocations: 135.2 kB / 0.7606 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007534/0.525, allocations: 0.6586 MB / 0.7613 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.5251, allocations: 70.69 kB / 0.7613 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.5252, allocations: 51.91 kB / 0.7614 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009125/0.5261, allocations: 0.5184 MB / 0.7619 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5261, allocations: 0 / 0.7619 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.708e-05/0.5262, allocations: 19.98 kB / 0.7619 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.5262, allocations: 15.94 kB / 0.7619 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/0.527, allocations: 407.7 kB / 0.7623 GB, free: 7.691 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.003252/0.5303, allocations: 2.735 MB / 0.765 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.5312, allocations: 451.8 kB / 0.7654 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/0.5319, allocations: 302.8 kB / 0.7657 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.653e-05/0.5319, allocations: 4.656 kB / 0.7657 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005283/0.5324, allocations: 287 kB / 0.766 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.254e-06/0.5325, allocations: 0 / 0.766 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002583/0.535, allocations: 1.142 MB / 0.7671 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.5351, allocations: 59.39 kB / 0.7672 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.5369, allocations: 1.768 MB / 0.7689 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.5369, allocations: 41.64 kB / 0.7689 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.5373, allocations: 0.5288 MB / 0.7695 GB, free: 60 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001288/0.5375, allocations: 142.1 kB / 0.7696 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.5376, allocations: 102.1 kB / 0.7697 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5377, allocations: 325.9 kB / 0.77 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004644/0.5382, allocations: 217 kB / 0.7702 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/0.5388, allocations: 343.1 kB / 0.7705 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008901/0.5397, allocations: 0.5074 MB / 0.771 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5397, allocations: 0 / 0.771 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001506/0.5412, allocations: 0.8109 MB / 0.7718 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.5412, allocations: 4 kB / 0.7718 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.5412, allocations: 4 kB / 0.7718 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.5416, allocations: 145.9 kB / 0.772 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.542, allocations: 99.86 kB / 0.7721 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.5446, allocations: 2.384 MB / 0.7744 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004281/0.5451, allocations: 91.44 kB / 0.7745 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.5451, allocations: 20 kB / 0.7745 GB, free: 10.65 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.0004312/0.5456, allocations: 394.8 kB / 0.7749 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.5457, allocations: 114.5 kB / 0.775 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.5459, allocations: 143.7 kB / 0.7751 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.5459, allocations: 7.938 kB / 0.7751 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.5459, allocations: 4 kB / 0.7751 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5459, allocations: 3.984 kB / 0.7751 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.5481, allocations: 1.483 MB / 0.7766 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.5481, allocations: 3.938 kB / 0.7766 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.5484, allocations: 47.97 kB / 0.7766 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/0.5488, allocations: 165.5 kB / 0.7768 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.5488, allocations: 15.98 kB / 0.7768 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/0.552, allocations: 3.689 MB / 0.7804 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5521, allocations: 0 / 0.7804 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.5537, allocations: 0.9793 MB / 0.7814 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.5539, allocations: 211.6 kB / 0.7816 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.601e-05/0.554, allocations: 23.86 kB / 0.7816 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.5544, allocations: 39.91 kB / 0.7816 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.5545, allocations: 51.91 kB / 0.7817 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.5545, allocations: 12 kB / 0.7817 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001292/0.5558, allocations: 1.289 MB / 0.7829 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5558, allocations: 0 / 0.7829 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006933/0.5565, allocations: 199.7 kB / 0.7831 GB, free: 1.414 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.00286/0.5594, allocations: 1.916 MB / 0.785 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.5607, allocations: 0.6604 MB / 0.7856 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5607, allocations: 0 / 0.7856 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007703/0.5614, allocations: 0.5249 MB / 0.7862 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009378/0.5624, allocations: 187.5 kB / 0.7863 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/0.5742, allocations: 9.338 MB / 0.7955 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.575, allocations: 1.149 MB / 0.7966 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002792/0.5753, allocations: 104.7 kB / 0.7967 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.5757, allocations: 403.3 kB / 0.7971 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.5757, allocations: 0 / 0.7971 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.6076, allocations: 19.73 MB / 0.8163 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.6078, allocations: 268.5 kB / 0.8166 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.099/2.707, allocations: 3.5 kB / 0.8166 GB, free: 15.1 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)