Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.000996/0.0009961, allocations: 108 kB / 15.61 MB, free: 152 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.001135/0.001135, allocations: 192.9 kB / 16.53 MB, free: 6.664 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.339/1.339, 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.608/1.608, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001376/0.001376, allocations: 66.5 kB / 0.6716 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.1799, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.5233/0.7032, allocations: 156.7 MB / 0.9365 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02315/0.7264, allocations: 21.56 MB / 0.9576 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.7287, allocations: 49.41 kB / 0.9576 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.7303, allocations: 1.166 MB / 0.9588 GB, free: 4.508 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.00147/0.7318, allocations: 0.8515 MB / 0.9596 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.7328, allocations: 405.9 kB / 0.96 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.7341, allocations: 1.242 MB / 0.9612 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007284/0.7349, allocations: 0.6845 MB / 0.9619 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007005/0.7356, allocations: 0.5456 MB / 0.9624 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.7366, allocations: 0.9127 MB / 0.9633 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.7367, allocations: 65.88 kB / 0.9633 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.737, allocations: 110.3 kB / 0.9635 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.7373, allocations: 318.2 kB / 0.9638 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003858/0.7377, allocations: 492.3 kB / 0.9642 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.7387, allocations: 1.178 MB / 0.9654 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.7387, allocations: 0 / 0.9654 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7387, allocations: 1.469 kB / 0.9654 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.7387, allocations: 0 / 0.9654 GB, free: 3.859 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.002375/0.7411, allocations: 1.481 MB / 0.9668 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.7412, allocations: 9.344 kB / 0.9668 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001037/0.7413, allocations: 82.88 kB / 0.9669 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.7415, allocations: 132.9 kB / 0.967 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008143/0.7423, allocations: 0.6553 MB / 0.9677 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.7424, allocations: 70.84 kB / 0.9677 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.647e-05/0.7425, allocations: 46.86 kB / 0.9678 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/0.7435, allocations: 0.5177 MB / 0.9683 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.7435, allocations: 1.25 kB / 0.9683 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.7436, allocations: 14.09 kB / 0.9683 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.7436, allocations: 10.62 kB / 0.9683 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007948/0.7444, allocations: 422.9 kB / 0.9687 GB, free: 18.34 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.003375/0.7478, allocations: 2.724 MB / 0.9714 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.7487, allocations: 452.7 kB / 0.9718 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006313/0.7494, allocations: 319.1 kB / 0.9721 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.7494, allocations: 3.875 kB / 0.9721 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005288/0.7499, allocations: 288.5 kB / 0.9724 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.75, allocations: 3.938 kB / 0.9724 GB, free: 16.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.002762/0.7527, allocations: 1.147 MB / 0.9735 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.7528, allocations: 57.53 kB / 0.9736 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001916/0.7547, allocations: 1.76 MB / 0.9753 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.7548, allocations: 36.11 kB / 0.9753 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.7552, allocations: 0.5252 MB / 0.9758 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.7553, allocations: 136.9 kB / 0.976 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.7554, allocations: 105.8 kB / 0.9761 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.7555, allocations: 325.3 kB / 0.9764 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.756, allocations: 215.8 kB / 0.9766 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000492/0.7565, allocations: 342.1 kB / 0.9769 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.7573, allocations: 0.5126 MB / 0.9774 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7573, allocations: 4 kB / 0.9774 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001527/0.7588, allocations: 0.8095 MB / 0.9782 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.7589, allocations: 8.781 kB / 0.9782 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.7589, allocations: 7.484 kB / 0.9782 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004218/0.7593, allocations: 142.1 kB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.7597, allocations: 102.6 kB / 0.9785 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/0.7624, allocations: 2.605 MB / 0.981 GB, free: 11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.7629, allocations: 75.52 kB / 0.9811 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.763, allocations: 22.75 kB / 0.9811 GB, free: 10.96 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006227/0.7636, allocations: 390.5 kB / 0.9815 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.7637, allocations: 117.1 kB / 0.9816 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.764, allocations: 142 kB / 0.9817 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.764, allocations: 5.031 kB / 0.9817 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.764, allocations: 3.062 kB / 0.9817 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.764, allocations: 3.141 kB / 0.9817 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.7662, allocations: 1.499 MB / 0.9832 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.7662, allocations: 0 / 0.9832 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/0.7664, allocations: 43.05 kB / 0.9832 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003578/0.7668, allocations: 161.2 kB / 0.9834 GB, free: 9.828 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.445e-05/0.7668, allocations: 14.09 kB / 0.9834 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.7703, allocations: 4.025 MB / 0.9873 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7703, allocations: 3.938 kB / 0.9873 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001688/0.772, allocations: 0.9905 MB / 0.9883 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002762/0.7723, allocations: 211.1 kB / 0.9885 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.7724, allocations: 12.66 kB / 0.9885 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.7727, allocations: 25.47 kB / 0.9885 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.7729, allocations: 51.55 kB / 0.9886 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-05/0.7729, allocations: 19.05 kB / 0.9886 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001321/0.7742, allocations: 1.291 MB / 0.9899 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.7743, allocations: 0 / 0.9899 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006967/0.775, allocations: 197.1 kB / 0.9901 GB, free: 4.738 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,12,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.002854/0.7778, allocations: 1.9 MB / 0.9919 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001401/0.7792, allocations: 0.6874 MB / 0.9926 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.7792, allocations: 192 / 0.9926 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000746/0.78, allocations: 0.5316 MB / 0.9931 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009498/0.781, allocations: 211.7 kB / 0.9933 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.7921, allocations: 9.055 MB / 1.002 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007191/0.7929, allocations: 1.153 MB / 1.003 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003634/0.7933, allocations: 88.94 kB / 1.003 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.7937, allocations: 408.3 kB / 1.004 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of SimCode: time 6.92e-07/0.7937, allocations: 0 / 1.004 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04536/0.8391, allocations: 20.46 MB / 1.024 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.82, allocations: 0 / 1.024 GB, free: 12.05 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)