Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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: 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.001288/0.001287, allocations: 195.4 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.361/1.361, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.499/1.499, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001247/0.001247, allocations: 71.42 kB / 0.6716 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1737, allocations: 114.5 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.4694/0.6432, allocations: 156.7 MB / 0.9365 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02/0.6632, allocations: 21.56 MB / 0.9576 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.6651, allocations: 49.66 kB / 0.9576 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.6664, allocations: 1.162 MB / 0.9588 GB, free: 4.449 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.001197/0.6676, allocations: 0.8555 MB / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008629/0.6685, allocations: 410.3 kB / 0.96 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009892/0.6695, allocations: 1.241 MB / 0.9612 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006539/0.6702, allocations: 0.6809 MB / 0.9619 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005257/0.6707, allocations: 0.5484 MB / 0.9624 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.6715, allocations: 0.9174 MB / 0.9633 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.6716, allocations: 65.34 kB / 0.9634 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.6719, allocations: 107 kB / 0.9635 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.6721, allocations: 318.7 kB / 0.9638 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003124/0.6724, allocations: 491.1 kB / 0.9642 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008513/0.6733, allocations: 1.178 MB / 0.9654 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6733, allocations: 5.031 kB / 0.9654 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6733, allocations: 0 / 0.9654 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.6733, allocations: 0 / 0.9654 GB, free: 3.809 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.00203/0.6754, allocations: 1.475 MB / 0.9668 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.6754, allocations: 9.312 kB / 0.9668 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.489e-05/0.6755, allocations: 80.7 kB / 0.9669 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.6756, allocations: 135.2 kB / 0.967 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006573/0.6763, allocations: 0.6558 MB / 0.9677 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.6764, allocations: 70.44 kB / 0.9677 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.056e-05/0.6765, allocations: 48.19 kB / 0.9678 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.6773, allocations: 0.5179 MB / 0.9683 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.6773, allocations: 1.375 kB / 0.9683 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.6774, allocations: 20.14 kB / 0.9683 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.6774, allocations: 9.625 kB / 0.9683 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007295/0.6781, allocations: 416.6 kB / 0.9687 GB, free: 18.3 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.002862/0.681, allocations: 2.723 MB / 0.9714 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008085/0.6818, allocations: 449.8 kB / 0.9718 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/0.6824, allocations: 312.4 kB / 0.9721 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.6824, allocations: 3.781 kB / 0.9721 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.6829, allocations: 298.6 kB / 0.9724 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.6829, allocations: 0 / 0.9724 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.002222/0.6851, allocations: 1.144 MB / 0.9735 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.6852, allocations: 62.89 kB / 0.9736 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.6865, allocations: 1.759 MB / 0.9753 GB, free: 15 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.802e-05/0.6866, allocations: 41 kB / 0.9753 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.6869, allocations: 0.5251 MB / 0.9758 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.687, allocations: 139.8 kB / 0.976 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.6871, allocations: 100.1 kB / 0.9761 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.6872, allocations: 331.2 kB / 0.9764 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004053/0.6876, allocations: 210.2 kB / 0.9766 GB, free: 14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.688, allocations: 342 kB / 0.9769 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/0.6888, allocations: 0.5152 MB / 0.9774 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6888, allocations: 0 / 0.9774 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001287/0.6901, allocations: 0.8129 MB / 0.9782 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6901, allocations: 12.41 kB / 0.9782 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.6901, allocations: 2.219 kB / 0.9782 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/0.6905, allocations: 137.2 kB / 0.9784 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.6908, allocations: 106.1 kB / 0.9785 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.6932, allocations: 2.602 MB / 0.981 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.6936, allocations: 75.41 kB / 0.9811 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.6936, allocations: 21.09 kB / 0.9811 GB, free: 10.98 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.0003574/0.694, allocations: 385.9 kB / 0.9815 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.6941, allocations: 115 kB / 0.9816 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001794/0.6943, allocations: 145.6 kB / 0.9817 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6943, allocations: 7.906 kB / 0.9817 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.6943, allocations: 2.375 kB / 0.9817 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.6943, allocations: 2.578 kB / 0.9817 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.6963, allocations: 1.493 MB / 0.9832 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.6963, allocations: 4 kB / 0.9832 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.6965, allocations: 45.38 kB / 0.9832 GB, free: 9.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000329/0.6968, allocations: 169 kB / 0.9834 GB, free: 9.844 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.6969, allocations: 9.672 kB / 0.9834 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00308/0.7, allocations: 4.023 MB / 0.9873 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7, allocations: 7.5 kB / 0.9873 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001446/0.7014, allocations: 0.9935 MB / 0.9883 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.7016, allocations: 205 kB / 0.9885 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.827e-05/0.7017, allocations: 15.39 kB / 0.9885 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.702, allocations: 27.8 kB / 0.9885 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.7021, allocations: 53.67 kB / 0.9886 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.7022, allocations: 10.03 kB / 0.9886 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001102/0.7033, allocations: 1.294 MB / 0.9899 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7033, allocations: 0 / 0.9899 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006066/0.7039, allocations: 201 kB / 0.9901 GB, free: 4.773 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.002527/0.7064, allocations: 1.906 MB / 0.9919 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001257/0.7077, allocations: 0.6855 MB / 0.9926 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.7077, allocations: 0 / 0.9926 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.7084, allocations: 0.5315 MB / 0.9931 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008866/0.7093, allocations: 201.5 kB / 0.9933 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009918/0.7192, allocations: 9.063 MB / 1.002 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.7199, allocations: 1.152 MB / 1.003 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002682/0.7202, allocations: 93.39 kB / 1.003 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/0.7206, allocations: 399.7 kB / 1.004 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of SimCode: time 4.31e-07/0.7206, allocations: 0 / 1.004 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.206/1.927, allocations: 20.46 MB / 1.024 GB, free: 12.03 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.515/11.44, allocations: 0 / 1.024 GB, free: 12.03 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)