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.006424/0.006424, allocations: 99.55 kB / 15.73 MB, free: 6.008 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.002161/0.002161, allocations: 198.5 kB / 16.68 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.18 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.287/2.287, allocations: 390.2 MB / 0.6648 GB, free: 156 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 58.72 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2129, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1417/0.3547, allocations: 157.9 MB / 1.242 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5002/0.8549, allocations: 22.12 MB / 1.263 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.8564, allocations: 64.66 kB / 1.263 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001857/0.8583, allocations: 1.382 MB / 1.265 GB, free: 3.086 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.8597, allocations: 1.014 MB / 1.266 GB, free: 3.059 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.861, allocations: 0.6497 MB / 1.266 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.8624, allocations: 1.697 MB / 1.268 GB, free: 3.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.8634, allocations: 0.9639 MB / 1.269 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008133/0.8642, allocations: 0.7331 MB / 1.27 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.8655, allocations: 1.192 MB / 1.271 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.8657, allocations: 92.16 kB / 1.271 GB, free: 2.949 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.8661, allocations: 150.3 kB / 1.271 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.8664, allocations: 414.1 kB / 1.271 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005827/0.867, allocations: 0.6521 MB / 1.272 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.8687, allocations: 1.605 MB / 1.274 GB, free: 2.832 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8687, allocations: 1.469 kB / 1.274 GB, free: 2.832 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8687, allocations: 3.781 kB / 1.274 GB, free: 2.832 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.967e-05/0.8688, allocations: 0.9688 kB / 1.274 GB, free: 2.832 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.002736/0.8715, allocations: 1.907 MB / 1.275 GB, free: 1.777 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.8715, allocations: 10.34 kB / 1.275 GB, free: 1.777 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.8717, allocations: 113.6 kB / 1.276 GB, free: 1.738 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.8719, allocations: 185.3 kB / 1.276 GB, free: 1.645 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.873, allocations: 0.883 MB / 1.277 GB, free: 1.195 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.8731, allocations: 90.14 kB / 1.277 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.607e-05/0.8732, allocations: 65.02 kB / 1.277 GB, free: 1.164 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/0.8744, allocations: 0.7209 MB / 1.277 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.8744, allocations: 2.656 kB / 1.277 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.8745, allocations: 26.41 kB / 1.277 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.8745, allocations: 14.69 kB / 1.277 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.8755, allocations: 0.5425 MB / 1.278 GB, free: 1.051 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.004113/0.8796, allocations: 3.606 MB / 1.282 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.8808, allocations: 0.6103 MB / 1.282 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006473/0.8815, allocations: 377.8 kB / 1.282 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.8815, allocations: 8.125 kB / 1.283 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006473/0.8822, allocations: 389.8 kB / 1.283 GB, free: 15.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/0.8822, allocations: 0 / 1.283 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=65): time 0.004566/0.8868, allocations: 1.78 MB / 1.285 GB, free: 14.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.8868, allocations: 64.72 kB / 1.285 GB, free: 14.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.8891, allocations: 2.257 MB / 1.287 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.8891, allocations: 42.88 kB / 1.287 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.8896, allocations: 0.7164 MB / 1.288 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.8898, allocations: 215.4 kB / 1.288 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.89, allocations: 126.2 kB / 1.288 GB, free: 14.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8901, allocations: 338.1 kB / 1.288 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.8907, allocations: 274.8 kB / 1.289 GB, free: 13.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006547/0.8913, allocations: 418.2 kB / 1.289 GB, free: 13.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.8924, allocations: 0.6692 MB / 1.29 GB, free: 13.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8924, allocations: 1.281 kB / 1.29 GB, free: 13.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00211/0.8946, allocations: 1.115 MB / 1.291 GB, free: 13.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.8946, allocations: 6.75 kB / 1.291 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8946, allocations: 6.094 kB / 1.291 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000747/0.8954, allocations: 273.9 kB / 1.291 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.8958, allocations: 117.8 kB / 1.291 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004652/0.9004, allocations: 3.705 MB / 1.295 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.901, allocations: 92.69 kB / 1.295 GB, free: 11.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.9011, allocations: 29.53 kB / 1.295 GB, free: 11.79 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.0005828/0.9017, allocations: 462.5 kB / 1.295 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.9018, allocations: 159 kB / 1.295 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.9021, allocations: 188.9 kB / 1.296 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.9021, allocations: 6.281 kB / 1.296 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.9021, allocations: 4.094 kB / 1.296 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.9022, allocations: 8.391 kB / 1.296 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.9054, allocations: 2.037 MB / 1.298 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.9054, allocations: 4 kB / 1.298 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.9056, allocations: 57.81 kB / 1.298 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000674/0.9063, allocations: 279 kB / 1.298 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.9064, allocations: 18.44 kB / 1.298 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005179/0.9116, allocations: 5.238 MB / 1.303 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.9116, allocations: 0.9062 kB / 1.303 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.914, allocations: 1.4 MB / 1.304 GB, free: 7.844 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.9143, allocations: 260.5 kB / 1.305 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.9145, allocations: 23 kB / 1.305 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.9148, allocations: 37.64 kB / 1.305 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.915, allocations: 71.02 kB / 1.305 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.691e-05/0.915, allocations: 22.17 kB / 1.305 GB, free: 7.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001551/0.9166, allocations: 1.637 MB / 1.306 GB, free: 7.539 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.71e-07/0.9166, allocations: 0 / 1.306 GB, free: 7.539 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008677/0.9175, allocations: 273.7 kB / 1.307 GB, free: 7.512 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.003563/0.9211, allocations: 2.319 MB / 1.309 GB, free: 6.629 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001718/0.9228, allocations: 0.9047 MB / 1.31 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9228, allocations: 0.625 kB / 1.31 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.9238, allocations: 0.675 MB / 1.31 GB, free: 6.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.925, allocations: 289.8 kB / 1.311 GB, free: 6.199 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/0.938, allocations: 10.97 MB / 1.321 GB, free: 3.406 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.9388, allocations: 1.317 MB / 1.323 GB, free: 2.684 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003195/0.9391, allocations: 122.1 kB / 1.323 GB, free: 2.652 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004552/0.9396, allocations: 0.5379 MB / 1.323 GB, free: 2.645 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.9396, allocations: 0 / 1.323 GB, free: 2.645 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9096/1.849, allocations: 29.23 MB / 1.352 GB, free: 10.12 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/16.08, allocations: 17.62 kB / 1.352 GB, free: 10.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)