Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TestCase4,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IDEAS_dev_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.001365/0.001365, 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.001297/0.001297, allocations: 197.3 kB / 16.26 MB, free: 6.629 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.35/1.35, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8971/0.8971, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 56.34 kB / 0.505 GB, free: 5.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1284, allocations: 80.94 MB / 0.584 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.3558/0.4842, allocations: 154.5 MB / 0.7349 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.507, allocations: 21.48 MB / 0.7559 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.5088, allocations: 48.94 kB / 0.7559 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001571/0.5104, allocations: 1.132 MB / 0.757 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.5119, allocations: 0.8255 MB / 0.7579 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.5131, allocations: 379.7 kB / 0.7582 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.5145, allocations: 1.257 MB / 0.7594 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008334/0.5153, allocations: 0.6923 MB / 0.7601 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000654/0.516, allocations: 0.5529 MB / 0.7607 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009357/0.5169, allocations: 0.9606 MB / 0.7616 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.314e-05/0.517, allocations: 64 kB / 0.7617 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.5173, allocations: 112 kB / 0.7618 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002565/0.5175, allocations: 332.7 kB / 0.7621 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.5179, allocations: 0.489 MB / 0.7626 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009947/0.5189, allocations: 1.179 MB / 0.7637 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5189, allocations: 0 / 0.7637 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.083e-06/0.5189, allocations: 0 / 0.7637 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.519, allocations: 4 kB / 0.7637 GB, free: 5.102 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.002061/0.521, allocations: 1.478 MB / 0.7652 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5211, allocations: 16.02 kB / 0.7652 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.705e-05/0.5212, allocations: 82.66 kB / 0.7653 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.5213, allocations: 135.2 kB / 0.7654 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007516/0.5221, allocations: 0.6546 MB / 0.766 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.5222, allocations: 74.69 kB / 0.7661 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.5223, allocations: 51.91 kB / 0.7661 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009188/0.5232, allocations: 0.5145 MB / 0.7666 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5233, allocations: 0 / 0.7666 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.5233, allocations: 23.98 kB / 0.7667 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.5233, allocations: 12 kB / 0.7667 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008284/0.5242, allocations: 415.6 kB / 0.7671 GB, free: 1.531 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.003303/0.5275, allocations: 2.796 MB / 0.7698 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009872/0.5285, allocations: 456.9 kB / 0.7702 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.529, allocations: 281.4 kB / 0.7705 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.5291, allocations: 12.58 kB / 0.7705 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005617/0.5296, allocations: 294.1 kB / 0.7708 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 1.844e-06/0.5297, allocations: 0 / 0.7708 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002883/0.5325, allocations: 1.243 MB / 0.772 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.5326, allocations: 55.41 kB / 0.7721 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.5343, allocations: 1.748 MB / 0.7738 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.084e-05/0.5344, allocations: 41.69 kB / 0.7738 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.5348, allocations: 0.5141 MB / 0.7743 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.5349, allocations: 157.8 kB / 0.7745 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.535, allocations: 98.25 kB / 0.7746 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.5351, allocations: 326 kB / 0.7749 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/0.5356, allocations: 213.4 kB / 0.7751 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005519/0.5362, allocations: 328.8 kB / 0.7754 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008912/0.5371, allocations: 0.5141 MB / 0.7759 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.5371, allocations: 3.984 kB / 0.7759 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001576/0.5387, allocations: 0.8494 MB / 0.7767 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.5387, allocations: 4 kB / 0.7767 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.5387, allocations: 4 kB / 0.7767 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.5392, allocations: 188.8 kB / 0.7769 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003445/0.5396, allocations: 95.81 kB / 0.777 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.543, allocations: 3.011 MB / 0.7799 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.5434, allocations: 79.55 kB / 0.78 GB, free: 3.695 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.5435, allocations: 20 kB / 0.78 GB, free: 3.676 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: 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.0004409/0.5439, allocations: 383.3 kB / 0.7804 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.544, allocations: 114.5 kB / 0.7805 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.5442, allocations: 143.7 kB / 0.7807 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.5442, allocations: 4 kB / 0.7807 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5443, allocations: 11.92 kB / 0.7807 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5443, allocations: 4 kB / 0.7807 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002371/0.5466, allocations: 1.562 MB / 0.7822 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5467, allocations: 0 / 0.7822 GB, free: 1.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.5469, allocations: 47.91 kB / 0.7822 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.5474, allocations: 192.8 kB / 0.7824 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/0.5474, allocations: 15.98 kB / 0.7824 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004235/0.5517, allocations: 4.554 MB / 0.7869 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5517, allocations: 0 / 0.7869 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.5535, allocations: 1.064 MB / 0.7879 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002295/0.5537, allocations: 211.6 kB / 0.7881 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/0.5538, allocations: 12 kB / 0.7881 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.5542, allocations: 35.95 kB / 0.7882 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5543, allocations: 55.92 kB / 0.7882 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.5543, allocations: 12 kB / 0.7882 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00127/0.5556, allocations: 1.281 MB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5556, allocations: 0 / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007157/0.5563, allocations: 215.7 kB / 0.7897 GB, free: 9.379 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: 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.003015/0.5594, allocations: 1.994 MB / 0.7916 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.5609, allocations: 0.7531 MB / 0.7924 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5609, allocations: 0 / 0.7924 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008549/0.5618, allocations: 0.5598 MB / 0.7929 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009452/0.5627, allocations: 194.8 kB / 0.7931 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/0.5752, allocations: 9.4 MB / 0.8023 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007207/0.5759, allocations: 1.149 MB / 0.8034 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002608/0.5762, allocations: 88.78 kB / 0.8035 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/0.5766, allocations: 403.3 kB / 0.8039 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.5766, allocations: 0 / 0.8039 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/0.6151, allocations: 20.56 MB / 0.824 GB, free: 6.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.6153, allocations: 275.4 kB / 0.8242 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.201/2.817, allocations: 0 / 0.8242 GB, free: 5.965 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)