Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Examples.SimpleHouse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T|heaWat.u|vavDam.y|fan.sta_a.T|fan.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Examples.SimpleHouse") translateModel(Buildings.Examples.SimpleHouse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T|heaWat.u|vavDam.y|fan.sta_a.T|fan.sta_b.T",fileNamePrefix="Buildings_11_Buildings.Examples.SimpleHouse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 115.5 kB / 16.81 MB, free: 5.77 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.001967/0.001967, allocations: 196.7 kB / 17.77 MB, free: 5.117 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.441/1.441, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7556 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 66.05 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3885, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.SimpleHouse): time 1.282/1.671, allocations: 350.1 MB / 1.604 GB, free: 13.44 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.06512/1.736, allocations: 41.72 MB / 1.645 GB, free: 12.86 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0121/1.748, allocations: 222.6 kB / 1.645 GB, free: 12.86 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01386/1.762, allocations: 3.96 MB / 1.649 GB, free: 12.77 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02911/1.791, allocations: 9.021 MB / 1.658 GB, free: 12.36 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.0169/1.808, allocations: 5.446 MB / 1.663 GB, free: 12.14 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.03605/1.844, allocations: 23.99 MB / 1.686 GB, free: 9.074 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01557/1.86, allocations: 6.351 MB / 1.692 GB, free: 6.289 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02265/1.882, allocations: 8.327 MB / 1.701 GB, free: 3.629 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01285/1.895, allocations: 5.891 MB / 1.706 GB, free: 0.8711 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.004409/1.9, allocations: 0.7904 MB / 1.707 GB, free: 0.8711 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0214/1.921, allocations: 6.649 MB / 1.714 GB, free: 14.45 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.00654/1.927, allocations: 2.719 MB / 1.716 GB, free: 12.53 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.01372/1.941, allocations: 4.647 MB / 1.721 GB, free: 9.426 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.03264/1.974, allocations: 14.24 MB / 1.735 GB, free: 14.6 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/1.974, allocations: 4 kB / 1.735 GB, free: 14.6 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.964e-06/1.974, allocations: 0 / 1.735 GB, free: 14.6 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0005171/1.974, allocations: 0 / 1.735 GB, free: 14.6 MB / 1.295 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.02957/2.004, allocations: 9.854 MB / 1.744 GB, free: 4.742 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/2.004, allocations: 11.98 kB / 1.744 GB, free: 4.73 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01869/2.023, allocations: 2.687 MB / 1.747 GB, free: 2.039 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02385/2.047, allocations: 8.598 MB / 1.755 GB, free: 9.656 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000525/2.047, allocations: 377.4 kB / 1.756 GB, free: 9.289 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001959/2.049, allocations: 498.3 kB / 1.756 GB, free: 8.805 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0171/2.066, allocations: 6.448 MB / 1.763 GB, free: 2.121 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/2.066, allocations: 14.38 kB / 1.763 GB, free: 2.113 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000755/2.067, allocations: 198.7 kB / 1.763 GB, free: 1.922 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002297/2.067, allocations: 200.9 kB / 1.763 GB, free: 1.723 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01695/2.084, allocations: 6.091 MB / 1.769 GB, free: 11.67 MB / 1.326 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.05982/2.144, allocations: 29.36 MB / 1.798 GB, free: 13.03 MB / 1.357 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/2.155, allocations: 3.73 MB / 1.801 GB, free: 9.316 MB / 1.357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005955/2.161, allocations: 2.152 MB / 1.803 GB, free: 7.156 MB / 1.357 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.02504/2.186, allocations: 8.911 MB / 1.812 GB, free: 14.09 MB / 1.373 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005563/2.192, allocations: 2.27 MB / 1.814 GB, free: 11.78 MB / 1.373 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00333/2.195, allocations: 301.5 kB / 1.814 GB, free: 11.48 MB / 1.373 GB Notification: Performance of pre-optimization done (n=279): time 1.429e-05/2.195, allocations: 0 / 1.814 GB, free: 11.48 MB / 1.373 GB Notification: Performance of matching and sorting (n=279): time 0.01996/2.215, allocations: 6.66 MB / 1.821 GB, free: 4.625 MB / 1.373 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/2.215, allocations: 261.5 kB / 1.821 GB, free: 4.312 MB / 1.373 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01463/2.23, allocations: 6.759 MB / 1.828 GB, free: 13.59 MB / 1.389 GB Notification: Performance of collectPreVariables (initialization): time 0.001193/2.231, allocations: 93.7 kB / 1.828 GB, free: 13.5 MB / 1.389 GB Notification: Performance of collectInitialEqns (initialization): time 0.004794/2.236, allocations: 3.388 MB / 1.831 GB, free: 10.11 MB / 1.389 GB Notification: Performance of collectInitialBindings (initialization): time 0.00183/2.238, allocations: 1.004 MB / 1.832 GB, free: 9.121 MB / 1.389 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/2.24, allocations: 1.01 MB / 1.833 GB, free: 8.102 MB / 1.389 GB Notification: Performance of setup shared object (initialization): time 0.0001252/2.24, allocations: 305.1 kB / 1.833 GB, free: 7.801 MB / 1.389 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005945/2.246, allocations: 2.34 MB / 1.836 GB, free: 5.441 MB / 1.389 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007673/2.254, allocations: 3.565 MB / 1.839 GB, free: 1.387 MB / 1.389 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/2.267, allocations: 5.452 MB / 1.845 GB, free: 11.61 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.438e-05/2.267, allocations: 11.09 kB / 1.845 GB, free: 11.6 MB / 1.404 GB Notification: Performance of matching and sorting (n=610) (initialization): time 0.02119/2.288, allocations: 7.094 MB / 1.852 GB, free: 4.633 MB / 1.404 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/2.288, allocations: 17 kB / 1.852 GB, free: 4.617 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.442e-05/2.288, allocations: 32 kB / 1.852 GB, free: 4.586 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007893/2.296, allocations: 1.183 MB / 1.853 GB, free: 3.398 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005711/2.302, allocations: 1.083 MB / 1.854 GB, free: 2.375 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008191/2.31, allocations: 4.853 MB / 1.859 GB, free: 13.24 MB / 1.42 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007733/2.318, allocations: 431.5 kB / 1.859 GB, free: 12.82 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009533/2.319, allocations: 211.9 kB / 1.859 GB, free: 12.61 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009769/2.328, allocations: 3.831 MB / 1.863 GB, free: 8.77 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007434/2.336, allocations: 3.507 MB / 1.866 GB, free: 4.773 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01167/2.347, allocations: 5.353 MB / 1.872 GB, free: 15.1 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.806e-05/2.347, allocations: 8 kB / 1.872 GB, free: 15.09 MB / 1.436 GB Notification: Performance of matching and sorting (n=610) (initialization_lambda0): time 0.01892/2.366, allocations: 6.988 MB / 1.878 GB, free: 8.145 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/2.366, allocations: 19.94 kB / 1.878 GB, free: 8.125 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.114e-05/2.366, allocations: 28 kB / 1.878 GB, free: 8.098 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007495/2.374, allocations: 1.18 MB / 1.88 GB, free: 6.91 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005135/2.379, allocations: 1.069 MB / 1.881 GB, free: 5.84 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007589/2.387, allocations: 4.848 MB / 1.885 GB, free: 0.6797 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007459/2.394, allocations: 456 kB / 1.886 GB, free: 240 kB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00093/2.395, allocations: 207.9 kB / 1.886 GB, free: 32 kB / 1.436 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,booToInt.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.001308/2.396, allocations: 453.2 kB / 1.886 GB, free: 15.58 MB / 1.451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002201/2.399, allocations: 0.6869 MB / 1.887 GB, free: 14.89 MB / 1.451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/2.411, allocations: 4.9 MB / 1.892 GB, free: 9.922 MB / 1.451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009306/2.421, allocations: 3.835 MB / 1.896 GB, free: 6 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/2.421, allocations: 0 / 1.896 GB, free: 6 MB / 1.451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003806/2.425, allocations: 1.265 MB / 1.897 GB, free: 4.711 MB / 1.451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00172/2.426, allocations: 67.92 kB / 1.897 GB, free: 4.645 MB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005235/2.432, allocations: 343.5 kB / 1.897 GB, free: 4.309 MB / 1.451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005167/2.432, allocations: 210.1 kB / 1.897 GB, free: 4.102 MB / 1.451 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01391/2.446, allocations: 4.661 MB / 1.902 GB, free: 15.43 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01607/2.462, allocations: 6.755 MB / 1.909 GB, free: 8.598 MB / 1.467 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004245/2.466, allocations: 1.783 MB / 1.91 GB, free: 6.801 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.009297/2.476, allocations: 4.53 MB / 1.915 GB, free: 2.309 MB / 1.467 GB Notification: Performance of Backend: time 6.91e-07/2.476, allocations: 4 kB / 1.915 GB, free: 2.305 MB / 1.467 GB Notification: Performance of simCode: created initialization part: time 0.03092/2.506, allocations: 8.892 MB / 1.923 GB, free: 9.727 MB / 1.482 GB Notification: Performance of SimCode: time 0.03762/2.544, allocations: 15.52 MB / 1.939 GB, free: 10.24 MB / 1.498 GB Notification: Performance of Templates: time 0.3054/2.849, allocations: 163.5 MB / 2.098 GB, free: 8.062 MB / 1.654 GB make -j1 -f Buildings_11_Buildings.Examples.SimpleHouse.makefile (rm -f Buildings_11_Buildings.Examples.SimpleHouse.pipe ; mkfifo Buildings_11_Buildings.Examples.SimpleHouse.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.SimpleHouse.pipe >> ../files/Buildings_11_Buildings.Examples.SimpleHouse.sim & ./Buildings_11_Buildings.Examples.SimpleHouse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.SimpleHouse.pipe 2>&1)