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.001086/0.001086, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.0009875/0.0009879, allocations: 185.4 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003261/0.003261, allocations: 285.4 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.9152/0.9152, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 87.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3704, allocations: 86.98 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.SimpleHouse): time 0.6327/1.003, allocations: 348 MB / 1.107 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0559/1.059, allocations: 41.58 MB / 1.147 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007041/1.066, allocations: 218.8 kB / 1.148 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00929/1.075, allocations: 3.836 MB / 1.151 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02098/1.096, allocations: 8.642 MB / 1.16 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01202/1.108, allocations: 5.345 MB / 1.165 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02866/1.137, allocations: 23.81 MB / 1.188 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/1.148, allocations: 7.577 MB / 1.196 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01584/1.164, allocations: 8.225 MB / 1.204 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008897/1.173, allocations: 5.589 MB / 1.209 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002319/1.175, allocations: 0.7852 MB / 1.21 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/1.188, allocations: 6.406 MB / 1.216 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003238/1.191, allocations: 2.644 MB / 1.219 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.007026/1.198, allocations: 4.638 MB / 1.223 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01941/1.217, allocations: 14.17 MB / 1.237 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.217, allocations: 0 / 1.237 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.833e-06/1.217, allocations: 0 / 1.237 GB, free: 7.008 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000344/1.218, allocations: 4 kB / 1.237 GB, free: 7.004 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.0216/1.239, allocations: 9.583 MB / 1.247 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.239, allocations: 8.031 kB / 1.247 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/1.256, allocations: 2.643 MB / 1.249 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/1.274, allocations: 8.544 MB / 1.258 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/1.274, allocations: 377.4 kB / 1.258 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/1.276, allocations: 495.9 kB / 1.258 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/1.291, allocations: 6.453 MB / 1.265 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/1.291, allocations: 15.88 kB / 1.265 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007948/1.292, allocations: 204 kB / 1.265 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001801/1.292, allocations: 204.9 kB / 1.265 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/1.306, allocations: 6.088 MB / 1.271 GB, free: 3.891 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.04276/1.349, allocations: 29.24 MB / 1.3 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009814/1.358, allocations: 3.91 MB / 1.303 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004751/1.363, allocations: 2.294 MB / 1.306 GB, free: 14.7 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.01815/1.381, allocations: 8.935 MB / 1.314 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004765/1.386, allocations: 2.253 MB / 1.317 GB, free: 3.195 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001669/1.388, allocations: 296.4 kB / 1.317 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=279): time 6.222e-06/1.388, allocations: 0 / 1.317 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of matching and sorting (n=279): time 0.5908/1.979, allocations: 6.631 MB / 1.323 GB, free: 398.1 MB / 0.9513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/1.979, allocations: 261.6 kB / 1.324 GB, free: 397.8 MB / 0.9513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009494/1.988, allocations: 6.757 MB / 1.33 GB, free: 395.5 MB / 0.9513 GB Notification: Performance of collectPreVariables (initialization): time 0.000565/1.989, allocations: 93.14 kB / 1.33 GB, free: 395.5 MB / 0.9513 GB Notification: Performance of collectInitialEqns (initialization): time 0.002111/1.991, allocations: 3.331 MB / 1.333 GB, free: 393.5 MB / 0.9513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007115/1.992, allocations: 0.9599 MB / 1.334 GB, free: 392.8 MB / 0.9513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001263/1.993, allocations: 1.007 MB / 1.335 GB, free: 392.3 MB / 0.9513 GB Notification: Performance of setup shared object (initialization): time 3.196e-05/1.993, allocations: 305.1 kB / 1.336 GB, free: 392 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004612/1.998, allocations: 2.341 MB / 1.338 GB, free: 391.3 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005079/2.003, allocations: 3.554 MB / 1.341 GB, free: 389.1 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008742/2.012, allocations: 5.45 MB / 1.347 GB, free: 386.3 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-05/2.012, allocations: 11.28 kB / 1.347 GB, free: 386.3 MB / 0.9513 GB Notification: Performance of matching and sorting (n=610) (initialization): time 0.01532/2.027, allocations: 7.077 MB / 1.354 GB, free: 383.8 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/2.027, allocations: 17.84 kB / 1.354 GB, free: 383.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-05/2.027, allocations: 31.28 kB / 1.354 GB, free: 383.8 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007374/2.034, allocations: 1.18 MB / 1.355 GB, free: 383.6 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004213/2.039, allocations: 1.087 MB / 1.356 GB, free: 383.5 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005882/2.044, allocations: 4.833 MB / 1.361 GB, free: 379.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00612/2.051, allocations: 429.2 kB / 1.361 GB, free: 379.3 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003304/2.051, allocations: 217.5 kB / 1.361 GB, free: 379.2 MB / 0.9513 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006618/2.058, allocations: 3.83 MB / 1.365 GB, free: 376.5 MB / 0.9513 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004946/2.063, allocations: 3.511 MB / 1.368 GB, free: 372.5 MB / 0.9513 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008369/2.071, allocations: 5.346 MB / 1.374 GB, free: 366.9 MB / 0.9513 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-05/2.071, allocations: 8 kB / 1.374 GB, free: 366.8 MB / 0.9513 GB Notification: Performance of matching and sorting (n=610) (initialization_lambda0): time 0.01411/2.085, allocations: 6.956 MB / 1.38 GB, free: 359.9 MB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/2.085, allocations: 24.06 kB / 1.381 GB, free: 359.9 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/2.085, allocations: 31.75 kB / 1.381 GB, free: 359.8 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007046/2.092, allocations: 1.176 MB / 1.382 GB, free: 358.7 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003996/2.096, allocations: 1.073 MB / 1.383 GB, free: 357.6 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005701/2.102, allocations: 4.84 MB / 1.387 GB, free: 352.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006179/2.108, allocations: 452.6 kB / 1.388 GB, free: 352 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003868/2.109, allocations: 207.9 kB / 1.388 GB, free: 351.8 MB / 0.9513 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.00091/2.109, allocations: 452.5 kB / 1.389 GB, free: 351.4 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001455/2.111, allocations: 0.6634 MB / 1.389 GB, free: 350.7 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/2.123, allocations: 4.902 MB / 1.394 GB, free: 345.7 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009294/2.132, allocations: 3.843 MB / 1.398 GB, free: 341.8 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/2.132, allocations: 3.984 kB / 1.398 GB, free: 341.8 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002385/2.135, allocations: 1.226 MB / 1.399 GB, free: 340.6 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/2.136, allocations: 64 kB / 1.399 GB, free: 340.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0049/2.141, allocations: 342 kB / 1.399 GB, free: 340.2 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003729/2.141, allocations: 210.1 kB / 1.4 GB, free: 340 MB / 0.9513 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01102/2.152, allocations: 4.666 MB / 1.404 GB, free: 335.3 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01215/2.164, allocations: 6.721 MB / 1.411 GB, free: 328.5 MB / 0.9513 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003261/2.168, allocations: 1.897 MB / 1.412 GB, free: 326.6 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.006469/2.174, allocations: 4.53 MB / 1.417 GB, free: 322.1 MB / 0.9513 GB Notification: Performance of Backend: time 6.01e-07/2.174, allocations: 0 / 1.417 GB, free: 322.1 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.02211/2.196, allocations: 9.392 MB / 1.426 GB, free: 313.2 MB / 0.9513 GB Notification: Performance of SimCode: time 0.02401/2.22, allocations: 15.22 MB / 1.441 GB, free: 298.1 MB / 0.9513 GB Notification: Performance of Templates: time 0.1832/2.404, allocations: 161.8 MB / 1.599 GB, free: 137.7 MB / 0.9513 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)