Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.TestCase7,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",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.006598/0.006598, allocations: 99.11 kB / 15.73 MB, free: 6.051 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.002044/0.002044, allocations: 201.8 kB / 16.68 MB, free: 5.965 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 62.84 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2605, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1647/0.4252, allocations: 157.9 MB / 1.242 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7232/1.148, allocations: 22.11 MB / 1.263 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/1.15, allocations: 64.16 kB / 1.263 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002475/1.153, allocations: 1.383 MB / 1.265 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00243/1.155, allocations: 1.033 MB / 1.266 GB, free: 3.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/1.157, allocations: 0.6468 MB / 1.266 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002449/1.16, allocations: 1.693 MB / 1.268 GB, free: 3.051 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/1.162, allocations: 0.9683 MB / 1.269 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001312/1.163, allocations: 0.7405 MB / 1.27 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/1.165, allocations: 1.196 MB / 1.271 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002268/1.165, allocations: 91.69 kB / 1.271 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/1.165, allocations: 140.5 kB / 1.271 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005288/1.166, allocations: 415.3 kB / 1.271 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008511/1.167, allocations: 0.6549 MB / 1.272 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00257/1.169, allocations: 1.617 MB / 1.274 GB, free: 2.836 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.169, allocations: 1.297 kB / 1.274 GB, free: 2.836 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.084e-06/1.169, allocations: 1.031 kB / 1.274 GB, free: 2.836 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.433e-05/1.169, allocations: 0.5312 kB / 1.274 GB, free: 2.836 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003735/1.173, allocations: 1.969 MB / 1.276 GB, free: 1.723 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/1.173, allocations: 10.09 kB / 1.276 GB, free: 1.723 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/1.173, allocations: 108 kB / 1.276 GB, free: 1.684 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003425/1.174, allocations: 202.4 kB / 1.276 GB, free: 1.578 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/1.175, allocations: 0.8957 MB / 1.277 GB, free: 1.121 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/1.175, allocations: 89.67 kB / 1.277 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/1.176, allocations: 66.36 kB / 1.277 GB, free: 1.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/1.177, allocations: 0.7187 MB / 1.278 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/1.177, allocations: 5.047 kB / 1.278 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/1.177, allocations: 32.73 kB / 1.278 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/1.177, allocations: 16.16 kB / 1.278 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/1.179, allocations: 0.5406 MB / 1.278 GB, free: 0.9727 MB / 1.014 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.005415/1.184, allocations: 3.611 MB / 1.282 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.185, allocations: 0.6066 MB / 1.282 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/1.186, allocations: 382.5 kB / 1.283 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.54e-05/1.186, allocations: 10.14 kB / 1.283 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007673/1.187, allocations: 383 kB / 1.283 GB, free: 15.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=65): time 2.264e-06/1.187, allocations: 0.75 kB / 1.283 GB, free: 15.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=65): time 0.005293/1.192, allocations: 1.786 MB / 1.285 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/1.192, allocations: 62.58 kB / 1.285 GB, free: 14.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/1.195, allocations: 2.255 MB / 1.287 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/1.195, allocations: 46.84 kB / 1.287 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005832/1.196, allocations: 0.7183 MB / 1.288 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/1.196, allocations: 227.8 kB / 1.288 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/1.196, allocations: 124.7 kB / 1.288 GB, free: 14.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.196, allocations: 334.4 kB / 1.288 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006343/1.197, allocations: 280.4 kB / 1.289 GB, free: 13.75 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007342/1.198, allocations: 420.3 kB / 1.289 GB, free: 13.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.199, allocations: 0.6688 MB / 1.29 GB, free: 13.46 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.199, allocations: 2.406 kB / 1.29 GB, free: 13.46 MB / 1.029 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002728/1.202, allocations: 1.122 MB / 1.291 GB, free: 13.31 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.202, allocations: 7.531 kB / 1.291 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.202, allocations: 3.5 kB / 1.291 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009334/1.203, allocations: 272.2 kB / 1.291 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/1.203, allocations: 121 kB / 1.291 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005344/1.209, allocations: 3.708 MB / 1.295 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000754/1.209, allocations: 95.75 kB / 1.295 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/1.209, allocations: 29.36 kB / 1.295 GB, free: 11.68 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0009385/1.21, allocations: 461 kB / 1.295 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002343/1.211, allocations: 164.3 kB / 1.296 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/1.211, allocations: 190.1 kB / 1.296 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/1.211, allocations: 6.406 kB / 1.296 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/1.211, allocations: 2.5 kB / 1.296 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.211, allocations: 7.594 kB / 1.296 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/1.215, allocations: 2.035 MB / 1.298 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.215, allocations: 1.094 kB / 1.298 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/1.215, allocations: 70.39 kB / 1.298 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007835/1.216, allocations: 273.7 kB / 1.298 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/1.216, allocations: 19.14 kB / 1.298 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006365/1.222, allocations: 5.242 MB / 1.303 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/1.222, allocations: 1.906 kB / 1.303 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/1.225, allocations: 1.405 MB / 1.305 GB, free: 7.711 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005695/1.226, allocations: 268.7 kB / 1.305 GB, free: 7.523 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001596/1.226, allocations: 24.03 kB / 1.305 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/1.227, allocations: 38.53 kB / 1.305 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/1.227, allocations: 75.59 kB / 1.305 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/1.227, allocations: 20.61 kB / 1.305 GB, free: 7.512 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002346/1.229, allocations: 1.634 MB / 1.307 GB, free: 7.402 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.3e-07/1.229, allocations: 0 / 1.307 GB, free: 7.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001153/1.23, allocations: 273.5 kB / 1.307 GB, free: 7.375 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (39): * Single equations (assignments): 29 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004125/1.234, allocations: 2.339 MB / 1.309 GB, free: 6.469 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002112/1.237, allocations: 0.9138 MB / 1.31 GB, free: 6.312 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.237, allocations: 6.281 kB / 1.31 GB, free: 6.312 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/1.238, allocations: 0.6766 MB / 1.311 GB, free: 6.059 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/1.239, allocations: 278.7 kB / 1.311 GB, free: 6.031 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/1.257, allocations: 11.04 MB / 1.322 GB, free: 3.168 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001095/1.258, allocations: 1.317 MB / 1.323 GB, free: 2.445 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005395/1.259, allocations: 122.9 kB / 1.323 GB, free: 2.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006149/1.259, allocations: 0.5388 MB / 1.324 GB, free: 2.402 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/1.259, allocations: 4 kB / 1.324 GB, free: 2.398 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06385/1.323, allocations: 29.23 MB / 1.352 GB, free: 9.859 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/16.07, allocations: 14.83 kB / 1.352 GB, free: 9.848 MB / 1.045 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)