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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00113/0.00113, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.221/1.221, allocations: 205.1 MB / 222 MB, free: 4.727 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.645/1.645, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001359/0.001359, allocations: 67.72 kB / 0.6709 GB, free: 26.54 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2341, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.7815/1.016, allocations: 154.4 MB / 0.9336 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02843/1.044, allocations: 21.43 MB / 0.9545 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003352/1.048, allocations: 44.53 kB / 0.9546 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002353/1.05, allocations: 1.127 MB / 0.9557 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002323/1.052, allocations: 0.8209 MB / 0.9565 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/1.054, allocations: 353 kB / 0.9568 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002783/1.057, allocations: 1.341 MB / 0.9581 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/1.058, allocations: 0.6125 MB / 0.9587 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/1.06, allocations: 497.1 kB / 0.9592 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/1.062, allocations: 0.9107 MB / 0.9601 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00018/1.062, allocations: 37.12 kB / 0.9601 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/1.063, allocations: 74.22 kB / 0.9602 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004582/1.063, allocations: 304.5 kB / 0.9605 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007218/1.064, allocations: 462.8 kB / 0.9609 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/1.065, allocations: 1.16 MB / 0.9621 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.065, allocations: 0 / 0.9621 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.362e-06/1.065, allocations: 0 / 0.9621 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.244e-05/1.065, allocations: 0 / 0.9621 GB, free: 5.504 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00261/1.068, allocations: 1.471 MB / 0.9635 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.068, allocations: 9 kB / 0.9635 GB, free: 20.63 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/1.068, allocations: 86.28 kB / 0.9636 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/1.068, allocations: 131.7 kB / 0.9637 GB, free: 20.53 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008363/1.069, allocations: 0.6591 MB / 0.9644 GB, free: 20.13 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/1.069, allocations: 73.61 kB / 0.9644 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/1.069, allocations: 44.47 kB / 0.9645 GB, free: 20.1 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009812/1.07, allocations: 0.5246 MB / 0.965 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/1.07, allocations: 1.188 kB / 0.965 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/1.07, allocations: 17.31 kB / 0.965 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/1.071, allocations: 10.84 kB / 0.965 GB, free: 20.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/1.071, allocations: 418.9 kB / 0.9654 GB, free: 20.01 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.003949/1.075, allocations: 2.789 MB / 0.9681 GB, free: 18.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/1.077, allocations: 460.2 kB / 0.9686 GB, free: 18.47 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007329/1.077, allocations: 291.6 kB / 0.9689 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/1.077, allocations: 4.812 kB / 0.9689 GB, free: 18.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007851/1.078, allocations: 302.8 kB / 0.9691 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 4.278e-06/1.078, allocations: 0 / 0.9691 GB, free: 18.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.003952/1.082, allocations: 1.237 MB / 0.9704 GB, free: 18.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/1.082, allocations: 57.12 kB / 0.9704 GB, free: 18 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/1.085, allocations: 1.756 MB / 0.9721 GB, free: 17.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.49e-05/1.085, allocations: 36.05 kB / 0.9722 GB, free: 17.81 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/1.086, allocations: 0.5138 MB / 0.9727 GB, free: 17.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/1.086, allocations: 146.2 kB / 0.9728 GB, free: 17.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/1.086, allocations: 102 kB / 0.9729 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001172/1.086, allocations: 323 kB / 0.9732 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/1.086, allocations: 221.1 kB / 0.9734 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005197/1.087, allocations: 327.3 kB / 0.9737 GB, free: 17.15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/1.088, allocations: 0.5145 MB / 0.9742 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.088, allocations: 1.375 kB / 0.9742 GB, free: 17.04 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001739/1.09, allocations: 0.8541 MB / 0.9751 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/1.09, allocations: 6.969 kB / 0.9751 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.09, allocations: 2.938 kB / 0.9751 GB, free: 16.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/1.09, allocations: 185.8 kB / 0.9753 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003382/1.091, allocations: 93.03 kB / 0.9753 GB, free: 16.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003244/1.094, allocations: 2.746 MB / 0.978 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/1.094, allocations: 75.53 kB / 0.9781 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/1.094, allocations: 19.34 kB / 0.9781 GB, free: 15.47 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: 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.0006915/1.095, allocations: 387.2 kB / 0.9785 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/1.095, allocations: 115.6 kB / 0.9786 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/1.096, allocations: 143.5 kB / 0.9787 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.096, allocations: 5.156 kB / 0.9787 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.981e-05/1.096, allocations: 6.062 kB / 0.9787 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/1.096, allocations: 3.234 kB / 0.9787 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/1.098, allocations: 1.571 MB / 0.9803 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.098, allocations: 0 / 0.9803 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/1.098, allocations: 55.05 kB / 0.9803 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/1.099, allocations: 190.9 kB / 0.9805 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/1.099, allocations: 15.33 kB / 0.9805 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003915/1.103, allocations: 4.116 MB / 0.9845 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.103, allocations: 0 / 0.9845 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/1.105, allocations: 1.064 MB / 0.9856 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003102/1.105, allocations: 212.5 kB / 0.9858 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.743e-05/1.105, allocations: 18.98 kB / 0.9858 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/1.105, allocations: 33.62 kB / 0.9858 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/1.106, allocations: 52.08 kB / 0.9859 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.336e-05/1.106, allocations: 17.06 kB / 0.9859 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001668/1.107, allocations: 1.282 MB / 0.9872 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.107, allocations: 4 kB / 0.9872 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009007/1.108, allocations: 213.8 kB / 0.9874 GB, free: 11.57 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: 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.003049/1.111, allocations: 1.977 MB / 0.9893 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00145/1.113, allocations: 0.7232 MB / 0.99 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.113, allocations: 0 / 0.99 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008452/1.114, allocations: 0.5422 MB / 0.9905 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/1.115, allocations: 196.2 kB / 0.9907 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01567/1.131, allocations: 9.388 MB / 0.9999 GB, free: 4.805 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009465/1.132, allocations: 1.153 MB / 1.001 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003646/1.132, allocations: 89.55 kB / 1.001 GB, free: 4.027 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/1.132, allocations: 405.1 kB / 1.001 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of SimCode: time 7.72e-07/1.132, allocations: 0 / 1.001 GB, free: 3.699 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/1.189, allocations: 20.09 MB / 1.021 GB, free: 10.14 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003908/1.19, allocations: 290.5 kB / 1.021 GB, free: 9.758 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/3.471, allocations: 4.062 kB / 1.021 GB, free: 9.754 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)