Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestCase2,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001605/0.001606, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 186.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 68.53 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2194, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.6004/0.8198, allocations: 156.7 MB / 0.9367 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02759/0.8475, allocations: 21.56 MB / 0.9577 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002726/0.8502, allocations: 51.19 kB / 0.9578 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.8521, allocations: 1.169 MB / 0.9589 GB, free: 4.539 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001895/0.854, allocations: 0.8501 MB / 0.9597 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.8553, allocations: 400.1 kB / 0.9601 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001958/0.8573, allocations: 1.247 MB / 0.9613 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.8584, allocations: 0.685 MB / 0.962 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001184/0.8596, allocations: 0.5488 MB / 0.9626 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.8611, allocations: 0.913 MB / 0.9634 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.8613, allocations: 67.33 kB / 0.9635 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.8618, allocations: 109.4 kB / 0.9636 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.862, allocations: 315.4 kB / 0.9639 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.8626, allocations: 494.6 kB / 0.9644 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.864, allocations: 1.198 MB / 0.9656 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.864, allocations: 0 / 0.9656 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.864, allocations: 0 / 0.9656 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.401e-05/0.8641, allocations: 0 / 0.9656 GB, free: 3.844 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003117/0.8672, allocations: 1.472 MB / 0.967 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.8672, allocations: 11.34 kB / 0.967 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.8674, allocations: 82.19 kB / 0.9671 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000272/0.8676, allocations: 133.4 kB / 0.9672 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.8688, allocations: 0.6706 MB / 0.9679 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.869, allocations: 78.16 kB / 0.9679 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.8691, allocations: 43.53 kB / 0.968 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.8702, allocations: 0.5144 MB / 0.9685 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.8702, allocations: 1.219 kB / 0.9685 GB, free: 18.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.8703, allocations: 22.28 kB / 0.9685 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.8703, allocations: 9.469 kB / 0.9685 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009026/0.8712, allocations: 410.9 kB / 0.9689 GB, free: 18.33 MB / 0.7325 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.004168/0.8754, allocations: 2.779 MB / 0.9716 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.8765, allocations: 466.7 kB / 0.9721 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006258/0.8771, allocations: 294.2 kB / 0.9723 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.162e-05/0.8772, allocations: 4.219 kB / 0.9723 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006531/0.8778, allocations: 303.7 kB / 0.9726 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 3.186e-06/0.8779, allocations: 1.25 kB / 0.9726 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002945/0.8808, allocations: 1.238 MB / 0.9738 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.8809, allocations: 61.28 kB / 0.9739 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.8828, allocations: 1.746 MB / 0.9756 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/0.8829, allocations: 37.98 kB / 0.9756 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.8833, allocations: 0.5123 MB / 0.9761 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.8835, allocations: 152.6 kB / 0.9763 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.8836, allocations: 103.1 kB / 0.9764 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8838, allocations: 325.7 kB / 0.9767 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/0.8842, allocations: 217 kB / 0.9769 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/0.8848, allocations: 330.5 kB / 0.9772 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/0.8857, allocations: 0.5068 MB / 0.9777 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.8857, allocations: 3.406 kB / 0.9777 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001712/0.8874, allocations: 0.8556 MB / 0.9786 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.8874, allocations: 5.562 kB / 0.9786 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.8875, allocations: 4.688 kB / 0.9786 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005499/0.888, allocations: 186.3 kB / 0.9787 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.8884, allocations: 97.61 kB / 0.9788 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/0.8924, allocations: 2.999 MB / 0.9818 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/0.8931, allocations: 74.22 kB / 0.9818 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.8932, allocations: 21.09 kB / 0.9819 GB, free: 10.72 MB / 0.7325 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,$PRE.mean.y,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.0008069/0.894, allocations: 385.6 kB / 0.9822 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.8942, allocations: 115.1 kB / 0.9823 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.8944, allocations: 143.9 kB / 0.9825 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.8945, allocations: 3.188 kB / 0.9825 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.8945, allocations: 2.438 kB / 0.9825 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.8945, allocations: 4.656 kB / 0.9825 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.897, allocations: 1.563 MB / 0.984 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.897, allocations: 3.375 kB / 0.984 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.8973, allocations: 49.33 kB / 0.9841 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/0.8977, allocations: 187.3 kB / 0.9842 GB, free: 9.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.189e-05/0.8978, allocations: 21.27 kB / 0.9843 GB, free: 9.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004684/0.9025, allocations: 4.547 MB / 0.9887 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9025, allocations: 0 / 0.9887 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.9046, allocations: 1.061 MB / 0.9897 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004545/0.905, allocations: 219.9 kB / 0.9899 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.9052, allocations: 15.34 kB / 0.99 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/0.9055, allocations: 27.38 kB / 0.99 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.9057, allocations: 49.83 kB / 0.99 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.9057, allocations: 20.88 kB / 0.9901 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001742/0.9075, allocations: 1.281 MB / 0.9913 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9075, allocations: 0 / 0.9913 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001054/0.9085, allocations: 200.4 kB / 0.9915 GB, free: 3.898 MB / 0.7325 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) * 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.003185/0.9117, allocations: 1.985 MB / 0.9934 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.9134, allocations: 0.7145 MB / 0.9941 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.9135, allocations: 4.188 kB / 0.9941 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009029/0.9144, allocations: 0.5518 MB / 0.9947 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.9155, allocations: 193.5 kB / 0.9949 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.9279, allocations: 8.566 MB / 1.003 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007782/0.9287, allocations: 1.154 MB / 1.004 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003723/0.9291, allocations: 86.52 kB / 1.004 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00048/0.9296, allocations: 402 kB / 1.005 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of SimCode: time 1.002e-06/0.9296, allocations: 0 / 1.005 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05224/0.9818, allocations: 20.87 MB / 1.025 GB, free: 10.84 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/12.01, allocations: 10 kB / 1.025 GB, free: 10.83 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)