Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.007357/0.007357, allocations: 103.1 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.001695/0.001695, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.327/2.327, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 70.8 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2172, allocations: 140.4 MB / 1.087 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.142/0.3593, allocations: 156.7 MB / 1.241 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5552/0.9146, allocations: 21.73 MB / 1.262 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.916, allocations: 54.06 kB / 1.262 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/0.9176, allocations: 1.162 MB / 1.263 GB, free: 3.219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.9189, allocations: 0.8591 MB / 1.264 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009121/0.9198, allocations: 439.7 kB / 1.264 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.9209, allocations: 1.256 MB / 1.265 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007177/0.9216, allocations: 0.6814 MB / 1.266 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.9222, allocations: 0.5528 MB / 1.267 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.9232, allocations: 0.912 MB / 1.268 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001147/0.9234, allocations: 67.28 kB / 1.268 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.9236, allocations: 114.2 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.9239, allocations: 319.1 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.9243, allocations: 493.7 kB / 1.268 GB, free: 3.133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.9255, allocations: 1.199 MB / 1.27 GB, free: 3.051 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.9255, allocations: 0.9375 kB / 1.27 GB, free: 3.051 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9256, allocations: 1.203 kB / 1.27 GB, free: 3.051 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.9256, allocations: 1.5 kB / 1.27 GB, free: 3.051 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002096/0.9277, allocations: 1.479 MB / 1.271 GB, free: 2.184 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.9277, allocations: 10.56 kB / 1.271 GB, free: 2.184 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.44e-05/0.9278, allocations: 81.25 kB / 1.271 GB, free: 2.145 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001815/0.928, allocations: 139.6 kB / 1.271 GB, free: 2.074 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007865/0.9288, allocations: 0.6613 MB / 1.272 GB, free: 1.691 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.9289, allocations: 71.97 kB / 1.272 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.929, allocations: 47.75 kB / 1.272 GB, free: 1.66 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.9301, allocations: 0.5217 MB / 1.273 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.9301, allocations: 0.5625 kB / 1.273 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.9302, allocations: 19.23 kB / 1.273 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.755e-05/0.9302, allocations: 12.8 kB / 1.273 GB, free: 1.598 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009795/0.9312, allocations: 413.2 kB / 1.273 GB, free: 1.598 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.003631/0.9348, allocations: 2.728 MB / 1.276 GB, free: 16.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009086/0.9357, allocations: 444.1 kB / 1.276 GB, free: 16.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/0.9364, allocations: 306.7 kB / 1.276 GB, free: 16.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.9364, allocations: 6.016 kB / 1.276 GB, free: 16.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.937, allocations: 287.1 kB / 1.277 GB, free: 16.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=44): time 2.645e-06/0.937, allocations: 1 kB / 1.277 GB, free: 16.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=44): time 0.002477/0.9395, allocations: 1.148 MB / 1.278 GB, free: 15.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.9395, allocations: 57.98 kB / 1.278 GB, free: 15.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/0.9416, allocations: 1.766 MB / 1.28 GB, free: 15.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.186e-05/0.9416, allocations: 38 kB / 1.28 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003389/0.942, allocations: 0.5268 MB / 1.28 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-05/0.9421, allocations: 143.5 kB / 1.28 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.9422, allocations: 99.56 kB / 1.28 GB, free: 15.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.9423, allocations: 326.1 kB / 1.281 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/0.9428, allocations: 212.2 kB / 1.281 GB, free: 14.97 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.9433, allocations: 341.6 kB / 1.281 GB, free: 14.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.9441, allocations: 0.5116 MB / 1.282 GB, free: 14.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9441, allocations: 1.438 kB / 1.282 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001417/0.9455, allocations: 0.8115 MB / 1.282 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.9456, allocations: 6.875 kB / 1.282 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.9456, allocations: 9.578 kB / 1.282 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/0.9459, allocations: 138.2 kB / 1.283 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003572/0.9463, allocations: 104.7 kB / 1.283 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002585/0.9489, allocations: 2.602 MB / 1.285 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.9493, allocations: 75.56 kB / 1.285 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.9494, allocations: 21.36 kB / 1.285 GB, free: 13.02 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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_last,$PRE.mean.y_last,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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004221/0.9498, allocations: 385.1 kB / 1.286 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.95, allocations: 117.2 kB / 1.286 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.9502, allocations: 142.7 kB / 1.286 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.9502, allocations: 12.81 kB / 1.286 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.9502, allocations: 2.562 kB / 1.286 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.9502, allocations: 9.516 kB / 1.286 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.9525, allocations: 1.482 MB / 1.287 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.9525, allocations: 4.844 kB / 1.287 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.9527, allocations: 48.75 kB / 1.287 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003621/0.9531, allocations: 162.7 kB / 1.288 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.9531, allocations: 13.33 kB / 1.288 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00329/0.9564, allocations: 4.02 MB / 1.292 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9564, allocations: 0 / 1.292 GB, free: 9.586 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.958, allocations: 0.9874 MB / 1.293 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.9583, allocations: 215.8 kB / 1.293 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.9584, allocations: 16.11 kB / 1.293 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.9587, allocations: 26.45 kB / 1.293 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.9588, allocations: 53.25 kB / 1.293 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.9589, allocations: 18.2 kB / 1.293 GB, free: 9.195 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001289/0.9602, allocations: 1.287 MB / 1.294 GB, free: 9.086 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9602, allocations: 0.7188 kB / 1.294 GB, free: 9.086 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006543/0.9608, allocations: 200 kB / 1.294 GB, free: 9.066 MB / 1.029 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_last) * 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,12,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.002774/0.9636, allocations: 1.915 MB / 1.296 GB, free: 8.207 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.9649, allocations: 0.6661 MB / 1.297 GB, free: 8.074 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.9649, allocations: 0.9688 kB / 1.297 GB, free: 8.074 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007434/0.9656, allocations: 0.5284 MB / 1.297 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009244/0.9665, allocations: 195.1 kB / 1.298 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.977, allocations: 8.498 MB / 1.306 GB, free: 5.457 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.9777, allocations: 1.156 MB / 1.307 GB, free: 4.742 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002809/0.978, allocations: 98.47 kB / 1.307 GB, free: 4.723 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.9784, allocations: 410.4 kB / 1.307 GB, free: 4.711 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.9784, allocations: 0 / 1.307 GB, free: 4.711 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.344/2.322, allocations: 20.84 MB / 1.328 GB, free: 2.547 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/14.44, allocations: 13.59 kB / 1.328 GB, free: 2.539 MB / 1.029 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)