Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.TestCase6,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_8_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.0012/0.001204, 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.001215/0.001215, allocations: 199.2 kB / 16.14 MB, free: 6.707 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.328/1.328, allocations: 205.1 MB / 222 MB, free: 4.992 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.691/1.691, allocations: 292.3 MB / 0.5484 GB, free: 13.62 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.001364/0.001364, allocations: 66.05 kB / 0.6709 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2705, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.747/1.018, allocations: 154.7 MB / 0.9339 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02964/1.047, allocations: 21.55 MB / 0.9549 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003661/1.051, allocations: 45.75 kB / 0.955 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00303/1.054, allocations: 1.303 MB / 0.9563 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003221/1.057, allocations: 0.9326 MB / 0.9572 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/1.059, allocations: 422.2 kB / 0.9576 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003493/1.063, allocations: 1.517 MB / 0.9591 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/1.065, allocations: 0.701 MB / 0.9597 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/1.066, allocations: 0.5715 MB / 0.9603 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/1.068, allocations: 1.097 MB / 0.9614 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/1.068, allocations: 41 kB / 0.9614 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005309/1.069, allocations: 88.72 kB / 0.9615 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004334/1.069, allocations: 358.1 kB / 0.9618 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000654/1.07, allocations: 0.5356 MB / 0.9624 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/1.071, allocations: 1.299 MB / 0.9636 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/1.071, allocations: 0 / 0.9636 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/1.071, allocations: 4.312 kB / 0.9636 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.29e-05/1.071, allocations: 0 / 0.9636 GB, free: 5.43 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003508/1.075, allocations: 1.685 MB / 0.9653 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.075, allocations: 10.22 kB / 0.9653 GB, free: 20.44 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/1.075, allocations: 90.95 kB / 0.9654 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003909/1.076, allocations: 157.6 kB / 0.9655 GB, free: 20.32 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/1.077, allocations: 0.7388 MB / 0.9662 GB, free: 19.9 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/1.077, allocations: 81.91 kB / 0.9663 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/1.077, allocations: 52.41 kB / 0.9664 GB, free: 19.86 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/1.078, allocations: 0.5646 MB / 0.9669 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/1.078, allocations: 5.156 kB / 0.9669 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/1.078, allocations: 18.31 kB / 0.9669 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/1.078, allocations: 12.06 kB / 0.967 GB, free: 19.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009043/1.079, allocations: 449.9 kB / 0.9674 GB, free: 19.78 MB / 0.7481 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.00424/1.083, allocations: 3.01 MB / 0.9703 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/1.084, allocations: 0.4965 MB / 0.9708 GB, free: 18.15 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006013/1.085, allocations: 314.8 kB / 0.9711 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/1.085, allocations: 6 kB / 0.9711 GB, free: 18.14 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006717/1.086, allocations: 333.2 kB / 0.9714 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=52): time 2.495e-06/1.086, allocations: 1.156 kB / 0.9714 GB, free: 18.08 MB / 0.7481 GB Notification: Performance of matching and sorting (n=52): time 0.003451/1.089, allocations: 1.345 MB / 0.9727 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/1.089, allocations: 61.81 kB / 0.9728 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/1.093, allocations: 2.112 MB / 0.9749 GB, free: 17.49 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/1.093, allocations: 41.7 kB / 0.9749 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006818/1.093, allocations: 0.6281 MB / 0.9755 GB, free: 17.31 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/1.094, allocations: 169 kB / 0.9757 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/1.094, allocations: 105.9 kB / 0.9758 GB, free: 17.2 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.094, allocations: 334.9 kB / 0.9761 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/1.094, allocations: 236.7 kB / 0.9763 GB, free: 16.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/1.095, allocations: 346.4 kB / 0.9767 GB, free: 16.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009609/1.096, allocations: 0.5515 MB / 0.9772 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/1.096, allocations: 1.406 kB / 0.9772 GB, free: 16.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001804/1.098, allocations: 0.91 MB / 0.9781 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.098, allocations: 4.906 kB / 0.9781 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/1.098, allocations: 6.281 kB / 0.9781 GB, free: 16.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/1.098, allocations: 194 kB / 0.9783 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003544/1.099, allocations: 110.1 kB / 0.9784 GB, free: 16.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003224/1.102, allocations: 2.789 MB / 0.9811 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/1.103, allocations: 88.7 kB / 0.9812 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/1.103, allocations: 22.31 kB / 0.9812 GB, free: 15.07 MB / 0.7481 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,$PRE.mean.y,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.0007972/1.103, allocations: 442.9 kB / 0.9816 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/1.104, allocations: 140.5 kB / 0.9818 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002315/1.104, allocations: 162.5 kB / 0.9819 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/1.104, allocations: 9.312 kB / 0.9819 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-05/1.104, allocations: 7.219 kB / 0.9819 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.104, allocations: 7.172 kB / 0.982 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/1.106, allocations: 1.727 MB / 0.9836 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.106, allocations: 0 / 0.9836 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002193/1.107, allocations: 50.52 kB / 0.9837 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/1.107, allocations: 203.2 kB / 0.9839 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/1.107, allocations: 18.44 kB / 0.9839 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003829/1.111, allocations: 4.178 MB / 0.988 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.111, allocations: 1.812 kB / 0.988 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/1.113, allocations: 1.159 MB / 0.9891 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/1.113, allocations: 236.3 kB / 0.9893 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.114, allocations: 21.17 kB / 0.9894 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/1.114, allocations: 35.2 kB / 0.9894 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.114, allocations: 62 kB / 0.9894 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.336e-05/1.114, allocations: 20.52 kB / 0.9895 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001609/1.116, allocations: 1.54 MB / 0.991 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/1.116, allocations: 4 kB / 0.991 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009383/1.117, allocations: 231.3 kB / 0.9912 GB, free: 10.24 MB / 0.7481 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) * 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.003042/1.12, allocations: 2.097 MB / 0.9932 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001559/1.121, allocations: 0.7683 MB / 0.994 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.121, allocations: 0.5 kB / 0.994 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009165/1.122, allocations: 0.5711 MB / 0.9946 GB, free: 8.383 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/1.124, allocations: 218 kB / 0.9948 GB, free: 8.305 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/1.139, allocations: 10.87 MB / 1.005 GB, free: 2.715 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008595/1.14, allocations: 1.25 MB / 1.007 GB, free: 1.941 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003899/1.141, allocations: 100.5 kB / 1.007 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/1.141, allocations: 472.1 kB / 1.007 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of SimCode: time 1.293e-06/1.141, allocations: 3.375 kB / 1.007 GB, free: 1.531 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04096/1.182, allocations: 22.88 MB / 1.029 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/1.182, allocations: 281.4 kB / 1.03 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.473, allocations: 6.953 kB / 1.03 GB, free: 1.43 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)