Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_Buildings_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.001134/0.001134, allocations: 108 kB / 15.6 MB, free: 132 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.0009347/0.000935, allocations: 193 kB / 16.53 MB, free: 6.391 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.204/1.204, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.578/1.578, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.00137/0.00137, allocations: 66.22 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.227, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5817/0.8087, allocations: 156.7 MB / 0.9365 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02596/0.8347, allocations: 21.57 MB / 0.9576 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002383/0.8371, allocations: 49.97 kB / 0.9576 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001541/0.8387, allocations: 1.161 MB / 0.9588 GB, free: 4.398 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.001356/0.8401, allocations: 0.8526 MB / 0.9596 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009862/0.8411, allocations: 413.5 kB / 0.96 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.8423, allocations: 1.243 MB / 0.9612 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007362/0.843, allocations: 0.6794 MB / 0.9619 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.8437, allocations: 0.5453 MB / 0.9624 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.8447, allocations: 0.9114 MB / 0.9633 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.8448, allocations: 66.5 kB / 0.9633 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.8451, allocations: 114.3 kB / 0.9635 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002434/0.8454, allocations: 316.4 kB / 0.9638 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003782/0.8458, allocations: 495.5 kB / 0.9642 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.8471, allocations: 1.181 MB / 0.9654 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.8471, allocations: 0 / 0.9654 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.396e-06/0.8471, allocations: 0 / 0.9654 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.8471, allocations: 0 / 0.9654 GB, free: 3.75 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.003029/0.8502, allocations: 1.47 MB / 0.9668 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.8502, allocations: 10.12 kB / 0.9668 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.8504, allocations: 85.72 kB / 0.9669 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.8505, allocations: 130.4 kB / 0.967 GB, free: 18.77 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/0.8514, allocations: 0.6596 MB / 0.9677 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.8515, allocations: 71.81 kB / 0.9677 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.8516, allocations: 47.5 kB / 0.9678 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008837/0.8525, allocations: 0.5141 MB / 0.9683 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.8525, allocations: 1.031 kB / 0.9683 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.8526, allocations: 20.39 kB / 0.9683 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.8526, allocations: 10.03 kB / 0.9683 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.8534, allocations: 412.1 kB / 0.9687 GB, free: 18.25 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.003233/0.8566, allocations: 2.803 MB / 0.9715 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.8576, allocations: 467.3 kB / 0.9719 GB, free: 16.32 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.8581, allocations: 284.9 kB / 0.9722 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.8582, allocations: 4.719 kB / 0.9722 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.8587, allocations: 311.1 kB / 0.9725 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 1.834e-06/0.8587, allocations: 0 / 0.9725 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.00265/0.8613, allocations: 1.246 MB / 0.9737 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.8614, allocations: 56.12 kB / 0.9737 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001545/0.863, allocations: 1.752 MB / 0.9755 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.132e-05/0.863, allocations: 36.92 kB / 0.9755 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/0.8633, allocations: 0.5099 MB / 0.976 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.347e-05/0.8634, allocations: 149.7 kB / 0.9761 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.8636, allocations: 98.27 kB / 0.9762 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.8637, allocations: 331.6 kB / 0.9765 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.8641, allocations: 218.1 kB / 0.9767 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/0.8646, allocations: 328.1 kB / 0.9771 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008/0.8654, allocations: 0.515 MB / 0.9776 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.8654, allocations: 2.531 kB / 0.9776 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00145/0.8669, allocations: 0.8453 MB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8669, allocations: 5.188 kB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.8669, allocations: 9.219 kB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.8674, allocations: 188.3 kB / 0.9786 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.8678, allocations: 93.7 kB / 0.9787 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/0.871, allocations: 2.99 MB / 0.9816 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000401/0.8714, allocations: 82.84 kB / 0.9817 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.8714, allocations: 24.73 kB / 0.9817 GB, free: 10.75 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.0003985/0.8718, allocations: 375 kB / 0.9821 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.872, allocations: 117.7 kB / 0.9822 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.8722, allocations: 142.5 kB / 0.9823 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.8722, allocations: 4.719 kB / 0.9823 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.8722, allocations: 9.328 kB / 0.9823 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.8722, allocations: 2.391 kB / 0.9823 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.8744, allocations: 1.564 MB / 0.9838 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.8744, allocations: 0 / 0.9838 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.8746, allocations: 52.17 kB / 0.9839 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004225/0.8751, allocations: 192.9 kB / 0.9841 GB, free: 9.551 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.8751, allocations: 13.67 kB / 0.9841 GB, free: 9.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003907/0.879, allocations: 4.564 MB / 0.9885 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.879, allocations: 0 / 0.9885 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/0.8807, allocations: 1.063 MB / 0.9896 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.8809, allocations: 218.2 kB / 0.9898 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.881, allocations: 6.781 kB / 0.9898 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.8813, allocations: 32.84 kB / 0.9898 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.8815, allocations: 52.3 kB / 0.9899 GB, free: 4.602 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.8815, allocations: 18.77 kB / 0.9899 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001179/0.8827, allocations: 1.272 MB / 0.9911 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8827, allocations: 4 kB / 0.9911 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006768/0.8834, allocations: 204.1 kB / 0.9913 GB, free: 3.965 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.002873/0.8863, allocations: 1.975 MB / 0.9933 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.8877, allocations: 0.7562 MB / 0.994 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.8877, allocations: 0 / 0.994 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007822/0.8885, allocations: 0.552 MB / 0.9945 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.8895, allocations: 196.7 kB / 0.9947 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.9004, allocations: 9.13 MB / 1.004 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.9012, allocations: 1.149 MB / 1.005 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000276/0.9015, allocations: 92.55 kB / 1.005 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.9019, allocations: 403.8 kB / 1.005 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.9019, allocations: 0 / 1.005 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05122/0.9531, allocations: 20.83 MB / 1.026 GB, free: 10.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.336/10.29, allocations: 15.59 kB / 1.026 GB, free: 10.14 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)