Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_9_Buildings_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.001153/0.001153, 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.001144/0.001144, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.285/1.285, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.223/2.223, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 68.03 kB / 0.812 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5342, allocations: 140.4 MB / 0.949 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1556/0.6899, allocations: 154.8 MB / 1.1 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02303/0.713, allocations: 21.73 MB / 1.121 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.7154, allocations: 51.69 kB / 1.121 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.7173, allocations: 1.309 MB / 1.123 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.7188, allocations: 0.9306 MB / 1.124 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.72, allocations: 452.7 kB / 1.124 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.7214, allocations: 1.524 MB / 1.126 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007554/0.7221, allocations: 0.7001 MB / 1.126 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005999/0.7227, allocations: 0.5839 MB / 1.127 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001021/0.7238, allocations: 1.09 MB / 1.128 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.389e-05/0.7239, allocations: 40 kB / 1.128 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.7241, allocations: 95.92 kB / 1.128 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.7244, allocations: 356.5 kB / 1.128 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004231/0.7248, allocations: 0.5353 MB / 1.129 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.7259, allocations: 1.312 MB / 1.13 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7259, allocations: 0 / 1.13 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7259, allocations: 0 / 1.13 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.332e-05/0.7259, allocations: 3.938 kB / 1.13 GB, free: 8.129 MB / 0.8887 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.002315/0.7282, allocations: 1.683 MB / 1.132 GB, free: 6.387 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.7283, allocations: 12.03 kB / 1.132 GB, free: 6.375 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.7284, allocations: 94.7 kB / 1.132 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002258/0.7286, allocations: 163 kB / 1.132 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008474/0.7295, allocations: 0.7397 MB / 1.133 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.7296, allocations: 78.69 kB / 1.133 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.824e-05/0.7297, allocations: 51.98 kB / 1.133 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.7307, allocations: 0.5692 MB / 1.133 GB, free: 4.609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.7307, allocations: 4 kB / 1.133 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.7308, allocations: 16 kB / 1.133 GB, free: 4.59 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.7308, allocations: 12 kB / 1.133 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008799/0.7317, allocations: 447.6 kB / 1.134 GB, free: 4.141 MB / 0.8887 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.003523/0.7352, allocations: 3.01 MB / 1.137 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.7363, allocations: 0.4991 MB / 1.137 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/0.7369, allocations: 309.4 kB / 1.138 GB, free: 44 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.011e-05/0.7369, allocations: 16.36 kB / 1.138 GB, free: 28 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000618/0.7376, allocations: 321.1 kB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=52): time 2.344e-06/0.7376, allocations: 0.5469 kB / 1.138 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=52): time 0.003029/0.7406, allocations: 1.356 MB / 1.139 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.7407, allocations: 55.84 kB / 1.139 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.7426, allocations: 2.12 MB / 1.141 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.7427, allocations: 41.7 kB / 1.141 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004732/0.7432, allocations: 0.6245 MB / 1.142 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.7433, allocations: 173.6 kB / 1.142 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.7435, allocations: 102.3 kB / 1.142 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.7436, allocations: 330 kB / 1.143 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005091/0.7441, allocations: 233.2 kB / 1.143 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000561/0.7447, allocations: 345.8 kB / 1.143 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009426/0.7456, allocations: 0.5613 MB / 1.144 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.7457, allocations: 0 / 1.144 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001674/0.7473, allocations: 0.9062 MB / 1.145 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7474, allocations: 4 kB / 1.145 GB, free: 8.688 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.7474, allocations: 7.938 kB / 1.145 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.7479, allocations: 207.2 kB / 1.145 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.7483, allocations: 99.81 kB / 1.145 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.7516, allocations: 2.796 MB / 1.148 GB, free: 5.449 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.7521, allocations: 87.39 kB / 1.148 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.7521, allocations: 28 kB / 1.148 GB, free: 5.336 MB / 0.9044 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.0004867/0.7526, allocations: 436 kB / 1.148 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.7528, allocations: 138.2 kB / 1.148 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.753, allocations: 170 kB / 1.148 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.753, allocations: 4 kB / 1.148 GB, free: 4.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.753, allocations: 8 kB / 1.148 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.753, allocations: 3.938 kB / 1.148 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.7555, allocations: 1.726 MB / 1.15 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7556, allocations: 0 / 1.15 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.7558, allocations: 47.91 kB / 1.15 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.7563, allocations: 209.5 kB / 1.15 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.879e-05/0.7563, allocations: 16 kB / 1.15 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.7602, allocations: 4.175 MB / 1.154 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.7602, allocations: 4.031 kB / 1.155 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.7621, allocations: 1.166 MB / 1.156 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/0.7624, allocations: 239.4 kB / 1.156 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.7625, allocations: 12 kB / 1.156 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.7629, allocations: 51.84 kB / 1.156 GB, free: 12.56 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.763, allocations: 60.28 kB / 1.156 GB, free: 12.5 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.7631, allocations: 16 kB / 1.156 GB, free: 12.48 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001477/0.7646, allocations: 1.549 MB / 1.158 GB, free: 10.94 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7646, allocations: 0 / 1.158 GB, free: 10.94 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007457/0.7653, allocations: 227.6 kB / 1.158 GB, free: 10.71 MB / 0.92 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.003198/0.7685, allocations: 2.094 MB / 1.16 GB, free: 8.777 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001526/0.7701, allocations: 0.7567 MB / 1.161 GB, free: 8.008 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7701, allocations: 0 / 1.161 GB, free: 8.008 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009564/0.771, allocations: 0.5782 MB / 1.161 GB, free: 7.402 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.7722, allocations: 221 kB / 1.161 GB, free: 7.191 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/0.7855, allocations: 10.88 MB / 1.172 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/0.7863, allocations: 1.243 MB / 1.173 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003073/0.7866, allocations: 105.1 kB / 1.173 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/0.7871, allocations: 471.3 kB / 1.174 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of SimCode: time 8.02e-07/0.7871, allocations: 4 kB / 1.174 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.038/0.8251, allocations: 22.89 MB / 1.196 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004022/0.8255, allocations: 277.5 kB / 1.196 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.231/3.057, allocations: 4 kB / 1.196 GB, free: 3.074 MB / 0.9512 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)