Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.TestCase6,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",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.001223/0.001223, 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.001212/0.001212, allocations: 195.6 kB / 16.26 MB, free: 6.621 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.168/1.168, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.863/0.863, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.69 kB / 0.5049 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2155, allocations: 80.95 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4827/0.6984, allocations: 154.8 MB / 0.7352 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02695/0.7254, allocations: 21.6 MB / 0.7563 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.7283, allocations: 52.59 kB / 0.7563 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.7303, allocations: 1.308 MB / 0.7576 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001965/0.7323, allocations: 0.9267 MB / 0.7585 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.7337, allocations: 460.9 kB / 0.759 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.7356, allocations: 1.438 MB / 0.7604 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.7369, allocations: 0.793 MB / 0.7611 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.7381, allocations: 0.6425 MB / 0.7618 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.7396, allocations: 1.148 MB / 0.7629 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.7398, allocations: 72 kB / 0.763 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004109/0.7402, allocations: 132 kB / 0.7631 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003958/0.7406, allocations: 392.5 kB / 0.7635 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006402/0.7413, allocations: 0.5548 MB / 0.764 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.7426, allocations: 1.343 MB / 0.7653 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7427, allocations: 4 kB / 0.7653 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7427, allocations: 0 / 0.7653 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.785e-05/0.7427, allocations: 0 / 0.7653 GB, free: 3.621 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003058/0.7458, allocations: 1.686 MB / 0.767 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.7458, allocations: 8.031 kB / 0.767 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.746, allocations: 98.64 kB / 0.7671 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003286/0.7463, allocations: 159 kB / 0.7672 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/0.7475, allocations: 0.7435 MB / 0.7679 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.7477, allocations: 78.69 kB / 0.768 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.7478, allocations: 48 kB / 0.7681 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.7489, allocations: 0.573 MB / 0.7686 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.749, allocations: 8 kB / 0.7686 GB, free: 96 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.749, allocations: 27.98 kB / 0.7687 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.749, allocations: 12 kB / 0.7687 GB, free: 56 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009337/0.75, allocations: 447.7 kB / 0.7691 GB, free: 15.61 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.003793/0.7538, allocations: 3.002 MB / 0.772 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.7549, allocations: 0.4917 MB / 0.7725 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005754/0.7555, allocations: 314.9 kB / 0.7728 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.011e-05/0.7555, allocations: 12.36 kB / 0.7728 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006111/0.7561, allocations: 337 kB / 0.7731 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=52): time 2.234e-06/0.7561, allocations: 0 / 0.7731 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=52): time 0.003175/0.7593, allocations: 1.344 MB / 0.7745 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.7594, allocations: 67.72 kB / 0.7745 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.7617, allocations: 2.116 MB / 0.7766 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.7618, allocations: 37.7 kB / 0.7766 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/0.7623, allocations: 0.6206 MB / 0.7772 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.7624, allocations: 169.6 kB / 0.7774 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.7626, allocations: 106.3 kB / 0.7775 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.7627, allocations: 338 kB / 0.7778 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/0.7633, allocations: 229.2 kB / 0.778 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.7638, allocations: 345.9 kB / 0.7784 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009756/0.7648, allocations: 0.5498 MB / 0.7789 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.7648, allocations: 0 / 0.7789 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001756/0.7666, allocations: 0.9101 MB / 0.7798 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7666, allocations: 6.344 kB / 0.7798 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.7667, allocations: 4 kB / 0.7798 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005397/0.7672, allocations: 207.3 kB / 0.78 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.7676, allocations: 103.9 kB / 0.7801 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.7713, allocations: 3.039 MB / 0.7831 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.7718, allocations: 91.44 kB / 0.7831 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.7718, allocations: 20 kB / 0.7832 GB, free: 0.5938 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005168/0.7724, allocations: 439.7 kB / 0.7836 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.7725, allocations: 134.2 kB / 0.7837 GB, free: 24 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.7728, allocations: 174.5 kB / 0.7839 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.7728, allocations: 4 kB / 0.7839 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/0.7729, allocations: 7.938 kB / 0.7839 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.7729, allocations: 7.984 kB / 0.7839 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.7757, allocations: 1.738 MB / 0.7856 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7757, allocations: 0 / 0.7856 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002441/0.7759, allocations: 47.91 kB / 0.7856 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005013/0.7764, allocations: 201.6 kB / 0.7858 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.7765, allocations: 19.98 kB / 0.7859 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.781, allocations: 4.608 MB / 0.7904 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.781, allocations: 0 / 0.7904 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.783, allocations: 1.158 MB / 0.7915 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002919/0.7833, allocations: 239.2 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.7834, allocations: 20 kB / 0.7917 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.7838, allocations: 39.95 kB / 0.7918 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.784, allocations: 56.36 kB / 0.7918 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.784, allocations: 15.98 kB / 0.7918 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001612/0.7856, allocations: 1.549 MB / 0.7933 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7856, allocations: 8 kB / 0.7934 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008104/0.7864, allocations: 219.6 kB / 0.7936 GB, free: 5.539 MB / 0.6075 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.003298/0.7898, allocations: 2.11 MB / 0.7956 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.7915, allocations: 0.7961 MB / 0.7964 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7915, allocations: 0.5 kB / 0.7964 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009425/0.7925, allocations: 0.5854 MB / 0.797 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001109/0.7936, allocations: 220.7 kB / 0.7972 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/0.8101, allocations: 10.9 MB / 0.8078 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000967/0.811, allocations: 1.243 MB / 0.809 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003602/0.8114, allocations: 109.1 kB / 0.8091 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/0.812, allocations: 479.2 kB / 0.8096 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of SimCode: time 1.162e-06/0.812, allocations: 3.938 kB / 0.8096 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05229/0.8643, allocations: 23.35 MB / 0.8324 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.8645, allocations: 273.9 kB / 0.8327 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/3.469, allocations: 0 / 0.8327 GB, free: 13.41 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)