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.004832/0.004832, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001078/0.001078, allocations: 192.2 kB / 16.67 MB, free: 5.93 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.148 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.333/2.333, allocations: 390.3 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 58.03 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2358, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1589/0.3947, allocations: 157.9 MB / 1.242 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.576/0.9708, allocations: 22.11 MB / 1.263 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.9724, allocations: 63.84 kB / 1.263 GB, free: 3.113 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002022/0.9744, allocations: 1.382 MB / 1.265 GB, free: 3.094 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.9762, allocations: 1.018 MB / 1.266 GB, free: 3.066 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.9779, allocations: 0.6423 MB / 1.266 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.9796, allocations: 1.694 MB / 1.268 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001238/0.9809, allocations: 0.9673 MB / 1.269 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009623/0.9819, allocations: 0.7343 MB / 1.27 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.9833, allocations: 1.19 MB / 1.271 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001794/0.9835, allocations: 91.81 kB / 1.271 GB, free: 2.965 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003764/0.9839, allocations: 139.7 kB / 1.271 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004017/0.9843, allocations: 420.8 kB / 1.271 GB, free: 2.961 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000704/0.985, allocations: 0.6555 MB / 1.272 GB, free: 2.957 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.9872, allocations: 1.611 MB / 1.274 GB, free: 2.844 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9872, allocations: 0.5 kB / 1.274 GB, free: 2.844 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9873, allocations: 0.8438 kB / 1.274 GB, free: 2.844 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.9873, allocations: 0.5 kB / 1.274 GB, free: 2.844 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.002979/0.9903, allocations: 1.905 MB / 1.275 GB, free: 1.789 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.9903, allocations: 11.25 kB / 1.275 GB, free: 1.789 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001178/0.9904, allocations: 107.1 kB / 1.276 GB, free: 1.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000271/0.9907, allocations: 184.6 kB / 1.276 GB, free: 1.656 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.9919, allocations: 0.8914 MB / 1.277 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.992, allocations: 87.53 kB / 1.277 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.9922, allocations: 67.83 kB / 1.277 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.9934, allocations: 0.7178 MB / 1.277 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.9934, allocations: 6 kB / 1.277 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.053e-05/0.9935, allocations: 25.34 kB / 1.277 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.9935, allocations: 16.03 kB / 1.277 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.9946, allocations: 0.5417 MB / 1.278 GB, free: 1.062 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.004815/0.9995, allocations: 3.602 MB / 1.282 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/1.001, allocations: 0.6149 MB / 1.282 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/1.002, allocations: 385.2 kB / 1.283 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/1.002, allocations: 10.42 kB / 1.283 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007307/1.002, allocations: 382.2 kB / 1.283 GB, free: 15.1 MB / 1.029 GB Notification: Performance of pre-optimization done (n=65): time 2.595e-06/1.002, allocations: 0.625 kB / 1.283 GB, free: 15.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=65): time 0.005132/1.008, allocations: 1.779 MB / 1.285 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/1.008, allocations: 62.05 kB / 1.285 GB, free: 14.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/1.01, allocations: 2.256 MB / 1.287 GB, free: 14.51 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/1.01, allocations: 40.53 kB / 1.287 GB, free: 14.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000592/1.011, allocations: 0.7232 MB / 1.288 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/1.011, allocations: 212.8 kB / 1.288 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/1.011, allocations: 130.5 kB / 1.288 GB, free: 14.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.011, allocations: 334.1 kB / 1.288 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/1.012, allocations: 275.8 kB / 1.289 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007526/1.013, allocations: 422.3 kB / 1.289 GB, free: 13.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/1.014, allocations: 0.665 MB / 1.29 GB, free: 13.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/1.014, allocations: 1 kB / 1.29 GB, free: 13.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002401/1.016, allocations: 1.116 MB / 1.291 GB, free: 13.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.016, allocations: 7.594 kB / 1.291 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.016, allocations: 3.719 kB / 1.291 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008385/1.017, allocations: 270.5 kB / 1.291 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/1.018, allocations: 125.3 kB / 1.291 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005495/1.023, allocations: 3.694 MB / 1.295 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008406/1.024, allocations: 96.84 kB / 1.295 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.172e-05/1.024, allocations: 27.52 kB / 1.295 GB, free: 11.8 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.000939/1.025, allocations: 464.7 kB / 1.295 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/1.026, allocations: 155 kB / 1.295 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/1.026, allocations: 186.2 kB / 1.296 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.026, allocations: 6.891 kB / 1.296 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/1.026, allocations: 2.094 kB / 1.296 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.026, allocations: 7.75 kB / 1.296 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004749/1.031, allocations: 2.042 MB / 1.298 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.031, allocations: 1.969 kB / 1.298 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/1.031, allocations: 64.92 kB / 1.298 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008137/1.032, allocations: 270 kB / 1.298 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/1.032, allocations: 22.55 kB / 1.298 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006314/1.038, allocations: 5.237 MB / 1.303 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.038, allocations: 0.9375 kB / 1.303 GB, free: 8.121 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/1.042, allocations: 1.388 MB / 1.304 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006166/1.042, allocations: 271.6 kB / 1.305 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002897/1.042, allocations: 21.22 kB / 1.305 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/1.043, allocations: 35.73 kB / 1.305 GB, free: 7.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/1.043, allocations: 70.86 kB / 1.305 GB, free: 7.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/1.043, allocations: 26.42 kB / 1.305 GB, free: 7.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002664/1.046, allocations: 1.631 MB / 1.306 GB, free: 7.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.71e-07/1.046, allocations: 0 / 1.306 GB, free: 7.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001428/1.047, allocations: 273 kB / 1.307 GB, free: 7.527 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.00439/1.052, allocations: 2.333 MB / 1.309 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002183/1.054, allocations: 0.9035 MB / 1.31 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.054, allocations: 0 / 1.31 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/1.055, allocations: 0.6786 MB / 1.31 GB, free: 6.242 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/1.057, allocations: 283.8 kB / 1.311 GB, free: 6.207 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/1.075, allocations: 10.97 MB / 1.321 GB, free: 3.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/1.076, allocations: 1.317 MB / 1.323 GB, free: 2.688 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0004854/1.077, allocations: 125.4 kB / 1.323 GB, free: 2.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/1.077, allocations: 0.5368 MB / 1.323 GB, free: 2.645 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/1.077, allocations: 0 / 1.323 GB, free: 2.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06032/1.138, allocations: 29.22 MB / 1.352 GB, free: 10.1 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.84, allocations: 15.33 kB / 1.352 GB, free: 10.09 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)