Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse") translateModel(BuildingSystems.Fluid.Examples.SimpleHouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 103.8 kB / 16.41 MB, free: 6.508 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.001319/0.001319, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.285/1.285, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00211/0.00211, allocations: 289.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 91.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3595, allocations: 86.97 MB / 0.7671 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.SimpleHouse): time 0.6491/1.009, allocations: 348 MB / 1.107 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.05832/1.067, allocations: 41.58 MB / 1.148 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00793/1.075, allocations: 218.8 kB / 1.148 GB, free: 3.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/1.085, allocations: 3.916 MB / 1.152 GB, free: 15.31 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02327/1.109, allocations: 8.971 MB / 1.16 GB, free: 6.312 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01293/1.122, allocations: 5.358 MB / 1.166 GB, free: 0.9883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.03191/1.153, allocations: 23.84 MB / 1.189 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01172/1.165, allocations: 7.573 MB / 1.196 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0164/1.182, allocations: 8.316 MB / 1.204 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009055/1.191, allocations: 5.598 MB / 1.21 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002519/1.193, allocations: 0.7852 MB / 1.211 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01369/1.207, allocations: 6.414 MB / 1.217 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003633/1.211, allocations: 2.652 MB / 1.219 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007616/1.218, allocations: 4.63 MB / 1.224 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.02038/1.239, allocations: 14.18 MB / 1.238 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.239, allocations: 0 / 1.238 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.503e-06/1.239, allocations: 0 / 1.238 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003176/1.239, allocations: 0 / 1.238 GB, free: 6.73 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1222 * Number of variables: 1222 Notification: Performance of Generate backend data structure: time 0.02215/1.261, allocations: 9.575 MB / 1.247 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/1.261, allocations: 8.031 kB / 1.247 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0159/1.277, allocations: 2.635 MB / 1.25 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/1.295, allocations: 8.548 MB / 1.258 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000336/1.295, allocations: 381.4 kB / 1.258 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/1.296, allocations: 499.9 kB / 1.259 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01321/1.309, allocations: 6.456 MB / 1.265 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/1.31, allocations: 11.88 kB / 1.265 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006687/1.31, allocations: 204 kB / 1.265 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/1.31, allocations: 200.9 kB / 1.266 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/1.324, allocations: 6.088 MB / 1.272 GB, free: 3.629 MB / 0.9044 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.04197/1.366, allocations: 29.24 MB / 1.3 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009991/1.376, allocations: 3.913 MB / 1.304 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004875/1.381, allocations: 2.29 MB / 1.306 GB, free: 14.44 MB / 0.9512 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 evalFunc (simulation): time 0.019/1.4, allocations: 8.939 MB / 1.315 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00482/1.405, allocations: 2.253 MB / 1.317 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001673/1.407, allocations: 288.4 kB / 1.317 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=279): time 6.592e-06/1.407, allocations: 0 / 1.317 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of matching and sorting (n=279): time 0.3423/1.749, allocations: 6.64 MB / 1.324 GB, free: 399.9 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/1.749, allocations: 266.2 kB / 1.324 GB, free: 399.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/1.76, allocations: 6.754 MB / 1.331 GB, free: 397.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0007745/1.761, allocations: 94.58 kB / 1.331 GB, free: 397.2 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.002354/1.763, allocations: 3.323 MB / 1.334 GB, free: 395.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009762/1.764, allocations: 0.9596 MB / 1.335 GB, free: 394.5 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/1.766, allocations: 1.008 MB / 1.336 GB, free: 394.1 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/1.766, allocations: 301.1 kB / 1.336 GB, free: 393.8 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004918/1.771, allocations: 2.338 MB / 1.339 GB, free: 393 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005501/1.776, allocations: 3.564 MB / 1.342 GB, free: 390.9 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009122/1.785, allocations: 5.442 MB / 1.347 GB, free: 388 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/1.785, allocations: 11.06 kB / 1.347 GB, free: 388 MB / 0.9512 GB Notification: Performance of matching and sorting (n=610) (initialization): time 0.01618/1.802, allocations: 7.082 MB / 1.354 GB, free: 385.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.802, allocations: 17.22 kB / 1.354 GB, free: 385.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.496e-05/1.802, allocations: 31.31 kB / 1.354 GB, free: 385.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007207/1.809, allocations: 1.176 MB / 1.355 GB, free: 385.4 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004783/1.814, allocations: 1.086 MB / 1.357 GB, free: 385.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006186/1.82, allocations: 4.845 MB / 1.361 GB, free: 381.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006911/1.827, allocations: 426.8 kB / 1.362 GB, free: 381.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006666/1.828, allocations: 209.2 kB / 1.362 GB, free: 381.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006996/1.835, allocations: 3.84 MB / 1.366 GB, free: 378.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005019/1.84, allocations: 3.512 MB / 1.369 GB, free: 374.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008411/1.848, allocations: 5.343 MB / 1.374 GB, free: 368.9 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.789e-05/1.848, allocations: 8 kB / 1.374 GB, free: 368.9 MB / 0.9512 GB Notification: Performance of matching and sorting (n=610) (initialization_lambda0): time 0.01492/1.863, allocations: 6.959 MB / 1.381 GB, free: 361.9 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.863, allocations: 16 kB / 1.381 GB, free: 361.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/1.863, allocations: 28 kB / 1.381 GB, free: 361.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0071/1.87, allocations: 1.184 MB / 1.382 GB, free: 360.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/1.874, allocations: 1.073 MB / 1.383 GB, free: 359.6 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005982/1.88, allocations: 4.845 MB / 1.388 GB, free: 354.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006612/1.887, allocations: 452.5 kB / 1.388 GB, free: 354 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004799/1.888, allocations: 207.9 kB / 1.389 GB, free: 353.8 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,booleanToInt.y,hysRad.y,$PRE.hysRad.y,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 519 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,7), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009421/1.889, allocations: 448.8 kB / 1.389 GB, free: 353.4 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001323/1.89, allocations: 0.6557 MB / 1.39 GB, free: 352.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/1.9, allocations: 4.906 MB / 1.395 GB, free: 347.8 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008112/1.909, allocations: 3.843 MB / 1.398 GB, free: 343.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/1.909, allocations: 0 / 1.398 GB, free: 343.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002985/1.912, allocations: 1.23 MB / 1.399 GB, free: 342.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00115/1.913, allocations: 59.98 kB / 1.4 GB, free: 342.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004356/1.917, allocations: 340.7 kB / 1.4 GB, free: 342.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003662/1.917, allocations: 210.1 kB / 1.4 GB, free: 342 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01113/1.929, allocations: 4.673 MB / 1.405 GB, free: 337.3 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01287/1.941, allocations: 6.717 MB / 1.411 GB, free: 330.5 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003465/1.945, allocations: 1.897 MB / 1.413 GB, free: 328.6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.006122/1.951, allocations: 4.53 MB / 1.417 GB, free: 324.1 MB / 0.9512 GB Notification: Performance of Backend: time 6.31e-07/1.951, allocations: 0 / 1.417 GB, free: 324.1 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0214/1.973, allocations: 9.398 MB / 1.427 GB, free: 315.2 MB / 0.9512 GB Notification: Performance of SimCode: time 0.02493/1.997, allocations: 15.21 MB / 1.441 GB, free: 300.1 MB / 0.9512 GB Notification: Performance of Templates: time 0.1912/2.189, allocations: 161.8 MB / 1.6 GB, free: 139.8 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.SimpleHouse.pipe 2>&1)