Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,fileNamePrefix="Buildings_11_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.006556/0.006556, allocations: 102 kB / 15.73 MB, free: 6.062 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.0017/0.0017, allocations: 192 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.582/2.582, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 59.91 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6828/0.6847, allocations: 159.1 MB / 1.22 GB, free: 2.02 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.1715/0.8563, allocations: 157 MB / 1.374 GB, free: 4.363 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0262/0.8825, allocations: 21.87 MB / 1.395 GB, free: 14.43 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001711/0.8843, allocations: 55.69 kB / 1.395 GB, free: 14.37 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.8863, allocations: 1.336 MB / 1.396 GB, free: 13.03 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.888, allocations: 0.9809 MB / 1.397 GB, free: 12.05 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.8894, allocations: 0.5066 MB / 1.398 GB, free: 11.54 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001832/0.8912, allocations: 1.434 MB / 1.399 GB, free: 10.11 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.8924, allocations: 0.7772 MB / 1.4 GB, free: 9.312 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009996/0.8934, allocations: 0.6503 MB / 1.4 GB, free: 8.66 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.8948, allocations: 1.105 MB / 1.402 GB, free: 7.555 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.895, allocations: 72 kB / 1.402 GB, free: 7.484 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.8954, allocations: 116 kB / 1.402 GB, free: 7.371 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003573/0.8957, allocations: 376.5 kB / 1.402 GB, free: 7.004 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006089/0.8963, allocations: 0.5627 MB / 1.403 GB, free: 6.438 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.8979, allocations: 1.369 MB / 1.404 GB, free: 5.066 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.8979, allocations: 0 / 1.404 GB, free: 5.066 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8979, allocations: 0 / 1.404 GB, free: 5.066 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.32e-05/0.898, allocations: 0 / 1.404 GB, free: 5.066 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002838/0.9008, allocations: 1.729 MB / 1.406 GB, free: 3.281 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.9009, allocations: 8.031 kB / 1.406 GB, free: 3.273 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.901, allocations: 94.7 kB / 1.406 GB, free: 3.172 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002807/0.9013, allocations: 171.8 kB / 1.406 GB, free: 3.004 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009758/0.9023, allocations: 0.7605 MB / 1.407 GB, free: 2.191 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.9024, allocations: 74.69 kB / 1.407 GB, free: 2.113 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.85e-05/0.9025, allocations: 55.98 kB / 1.407 GB, free: 2.059 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.9035, allocations: 0.5692 MB / 1.407 GB, free: 1.477 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.9036, allocations: 3.938 kB / 1.407 GB, free: 1.473 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.734e-05/0.9036, allocations: 20 kB / 1.407 GB, free: 1.453 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.9036, allocations: 12 kB / 1.407 GB, free: 1.441 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009104/0.9045, allocations: 447.7 kB / 1.408 GB, free: 1.004 MB / 1.123 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.003753/0.9083, allocations: 3.011 MB / 1.411 GB, free: 13.72 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.9094, allocations: 0.4927 MB / 1.411 GB, free: 13.22 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/0.9101, allocations: 321.5 kB / 1.412 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 3.914e-05/0.9101, allocations: 12.31 kB / 1.412 GB, free: 12.89 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006167/0.9108, allocations: 321.2 kB / 1.412 GB, free: 12.57 MB / 1.139 GB Notification: Performance of pre-optimization done (n=52): time 2.174e-06/0.9108, allocations: 0 / 1.412 GB, free: 12.57 MB / 1.139 GB Notification: Performance of matching and sorting (n=52): time 0.00318/0.914, allocations: 1.368 MB / 1.413 GB, free: 11.15 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.914, allocations: 55.84 kB / 1.413 GB, free: 11.08 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.9162, allocations: 2.12 MB / 1.415 GB, free: 8.949 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.9163, allocations: 41.7 kB / 1.415 GB, free: 8.902 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005419/0.9168, allocations: 0.6249 MB / 1.416 GB, free: 8.273 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.917, allocations: 178.5 kB / 1.416 GB, free: 8.098 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.9171, allocations: 106.3 kB / 1.416 GB, free: 7.988 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.9173, allocations: 326 kB / 1.417 GB, free: 7.664 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005377/0.9178, allocations: 241.2 kB / 1.417 GB, free: 7.43 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.9184, allocations: 345.8 kB / 1.417 GB, free: 7.051 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.9195, allocations: 0.5533 MB / 1.418 GB, free: 6.461 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.9195, allocations: 0 / 1.418 GB, free: 6.461 MB / 1.139 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001757/0.9212, allocations: 0.9208 MB / 1.419 GB, free: 5.531 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.9213, allocations: 11.94 kB / 1.419 GB, free: 5.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.9213, allocations: 4 kB / 1.419 GB, free: 5.516 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005343/0.9218, allocations: 208.7 kB / 1.419 GB, free: 5.309 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.9222, allocations: 99.88 kB / 1.419 GB, free: 5.211 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003688/0.9259, allocations: 3.051 MB / 1.422 GB, free: 2.023 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004134/0.9263, allocations: 75.58 kB / 1.422 GB, free: 1.949 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.9264, allocations: 28.06 kB / 1.422 GB, free: 1.922 MB / 1.139 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_last,$PRE.mean.y_last,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.000516/0.9269, allocations: 436.2 kB / 1.422 GB, free: 1.488 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.9271, allocations: 147 kB / 1.422 GB, free: 1.344 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.9273, allocations: 174 kB / 1.423 GB, free: 1.168 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.9273, allocations: 7.938 kB / 1.423 GB, free: 1.16 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.9274, allocations: 4 kB / 1.423 GB, free: 1.156 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.9274, allocations: 3.984 kB / 1.423 GB, free: 1.152 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002697/0.9301, allocations: 1.735 MB / 1.424 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9301, allocations: 0 / 1.424 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.9303, allocations: 43.97 kB / 1.424 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/0.9308, allocations: 201.5 kB / 1.425 GB, free: 15.11 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.9309, allocations: 16 kB / 1.425 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004627/0.9355, allocations: 4.609 MB / 1.429 GB, free: 10.21 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9355, allocations: 3.938 kB / 1.429 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.9376, allocations: 1.175 MB / 1.43 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.9379, allocations: 248 kB / 1.431 GB, free: 8.738 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.48e-05/0.938, allocations: 12 kB / 1.431 GB, free: 8.727 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.9383, allocations: 35.95 kB / 1.431 GB, free: 8.691 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.9385, allocations: 56.36 kB / 1.431 GB, free: 8.637 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.9385, allocations: 16 kB / 1.431 GB, free: 8.621 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001646/0.9402, allocations: 1.549 MB / 1.432 GB, free: 7.074 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9402, allocations: 0 / 1.432 GB, free: 7.074 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008122/0.941, allocations: 227.7 kB / 1.432 GB, free: 6.852 MB / 1.154 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_last) * 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.003948/0.9449, allocations: 2.094 MB / 1.434 GB, free: 4.918 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.9466, allocations: 0.7702 MB / 1.435 GB, free: 4.137 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.9466, allocations: 4 kB / 1.435 GB, free: 4.133 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009544/0.9476, allocations: 0.5821 MB / 1.436 GB, free: 3.523 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.9486, allocations: 212.3 kB / 1.436 GB, free: 3.324 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.9622, allocations: 9.829 MB / 1.446 GB, free: 9.289 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/0.9631, allocations: 1.243 MB / 1.447 GB, free: 8.012 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.9634, allocations: 113 kB / 1.447 GB, free: 7.898 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005374/0.964, allocations: 475.3 kB / 1.447 GB, free: 7.434 MB / 1.17 GB Notification: Performance of SimCode: time 6.52e-07/0.964, allocations: 0 / 1.447 GB, free: 7.434 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.733/2.697, allocations: 24.11 MB / 1.471 GB, free: 15.63 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.98/23.67, allocations: 15.98 kB / 1.471 GB, free: 15.62 MB / 1.201 GB (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6_fmu --startTime=0 --stopTime=5.184e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)