Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.System1.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.System1") translateModel(Buildings.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTOut.T|boi.T|temSup.T|temRet.T|temRoo.T",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.001488/0.001488, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.509/1.509, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 64.36 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9882/0.9897, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System1): time 1.682/2.672, allocations: 0.5128 GB / 1.68 GB, free: 50.78 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1075/2.78, allocations: 72.58 MB / 1.751 GB, free: 42.11 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02413/2.804, allocations: 434.5 kB / 1.751 GB, free: 42.11 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02144/2.825, allocations: 5.95 MB / 1.757 GB, free: 40.52 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.05659/2.882, allocations: 14.61 MB / 1.772 GB, free: 33.99 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.03107/2.913, allocations: 10.33 MB / 1.782 GB, free: 27.72 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.06134/2.974, allocations: 37.97 MB / 1.819 GB, free: 8.18 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02295/2.997, allocations: 11.97 MB / 1.83 GB, free: 12.26 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03667/3.034, allocations: 12.29 MB / 1.842 GB, free: 0.6602 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02109/3.055, allocations: 9.201 MB / 1.851 GB, free: 8.121 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.007648/3.063, allocations: 1.191 MB / 1.853 GB, free: 6.93 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02676/3.09, allocations: 6.563 MB / 1.859 GB, free: 0.7461 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.008677/3.099, allocations: 3.578 MB / 1.862 GB, free: 13.23 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02499/3.124, allocations: 7.147 MB / 1.869 GB, free: 6.117 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.0531/3.177, allocations: 20.62 MB / 1.89 GB, free: 2.156 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 9.919e-06/3.177, allocations: 0 / 1.89 GB, free: 2.156 MB / 1.357 GB Notification: Performance of FrontEnd: time 2.946e-06/3.177, allocations: 0 / 1.89 GB, free: 2.156 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0009851/3.178, allocations: 0 / 1.89 GB, free: 2.156 MB / 1.357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1815 * Number of variables: 1815 Notification: Performance of Generate backend data structure: time 0.0484/3.226, allocations: 14.48 MB / 1.904 GB, free: 3.652 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 6.304e-05/3.226, allocations: 12.61 kB / 1.904 GB, free: 3.641 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01506/3.241, allocations: 2.33 MB / 1.906 GB, free: 1.301 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03767/3.279, allocations: 12.5 MB / 1.918 GB, free: 4.98 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008588/3.28, allocations: 0.5551 MB / 1.919 GB, free: 4.43 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003417/3.283, allocations: 0.7403 MB / 1.919 GB, free: 3.691 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/3.311, allocations: 8.444 MB / 1.928 GB, free: 10.96 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004506/3.312, allocations: 19.83 kB / 1.928 GB, free: 10.94 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002746/3.314, allocations: 306.5 kB / 1.928 GB, free: 10.65 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003823/3.315, allocations: 289.4 kB / 1.928 GB, free: 10.36 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02073/3.335, allocations: 6.977 MB / 1.935 GB, free: 3.371 MB / 1.404 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.0902/3.426, allocations: 41.72 MB / 1.976 GB, free: 7.176 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/3.436, allocations: 4.683 MB / 1.98 GB, free: 2.406 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005304/3.441, allocations: 2.332 MB / 1.983 GB, free: 72 kB / 1.451 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.03443/3.476, allocations: 10.55 MB / 1.993 GB, free: 5.141 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006544/3.482, allocations: 2.481 MB / 1.995 GB, free: 2.617 MB / 1.467 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005172/3.488, allocations: 381 kB / 1.996 GB, free: 2.242 MB / 1.467 GB Notification: Performance of pre-optimization done (n=395): time 2.924e-05/3.488, allocations: 0 / 1.996 GB, free: 2.242 MB / 1.467 GB Notification: Performance of matching and sorting (n=403): time 0.04988/3.537, allocations: 14.89 MB / 2.01 GB, free: 3.105 MB / 1.482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/3.538, allocations: 252.8 kB / 2.011 GB, free: 2.809 MB / 1.482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02543/3.563, allocations: 9.47 MB / 2.02 GB, free: 9.395 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.001442/3.565, allocations: 133.7 kB / 2.02 GB, free: 9.258 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.00762/3.572, allocations: 5.334 MB / 2.025 GB, free: 3.926 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.002709/3.575, allocations: 1.473 MB / 2.027 GB, free: 2.473 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005481/3.58, allocations: 1.345 MB / 2.028 GB, free: 1.117 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.0001196/3.581, allocations: 305.1 kB / 2.028 GB, free: 0.8164 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006395/3.587, allocations: 2.519 MB / 2.031 GB, free: 14.28 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008435/3.596, allocations: 4.272 MB / 2.035 GB, free: 9.289 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/3.609, allocations: 6.367 MB / 2.041 GB, free: 2.289 MB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-05/3.609, allocations: 12 kB / 2.041 GB, free: 2.277 MB / 1.514 GB Notification: Performance of matching and sorting (n=837) (initialization): time 0.03017/3.639, allocations: 9.1 MB / 2.05 GB, free: 9.07 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 7.953e-05/3.639, allocations: 20 kB / 2.05 GB, free: 9.051 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-05/3.639, allocations: 40 kB / 2.05 GB, free: 9.012 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009878/3.649, allocations: 1.754 MB / 2.052 GB, free: 7.25 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00663/3.656, allocations: 1.322 MB / 2.053 GB, free: 5.926 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/3.668, allocations: 8.237 MB / 2.061 GB, free: 13.2 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01105/3.679, allocations: 402.1 kB / 2.061 GB, free: 12.81 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001805/3.681, allocations: 287.9 kB / 2.062 GB, free: 12.53 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01269/3.694, allocations: 4.54 MB / 2.066 GB, free: 7.98 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00838/3.702, allocations: 4.21 MB / 2.07 GB, free: 3.047 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01248/3.715, allocations: 6.206 MB / 2.076 GB, free: 12.26 MB / 1.561 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.394e-05/3.715, allocations: 16 kB / 2.076 GB, free: 12.24 MB / 1.561 GB Notification: Performance of matching and sorting (n=837) (initialization_lambda0): time 0.02803/3.743, allocations: 8.773 MB / 2.085 GB, free: 3.441 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 7.011e-05/3.743, allocations: 20 kB / 2.085 GB, free: 3.422 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.29e-05/3.743, allocations: 44 kB / 2.085 GB, free: 3.379 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008695/3.752, allocations: 1.587 MB / 2.087 GB, free: 1.777 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006156/3.758, allocations: 1.291 MB / 2.088 GB, free: 496 kB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/3.775, allocations: 10.48 MB / 2.098 GB, free: 5.41 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/3.786, allocations: 444 kB / 2.098 GB, free: 4.98 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001677/3.788, allocations: 279.9 kB / 2.099 GB, free: 4.707 MB / 1.576 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 185 * Number of states: 0 () * Number of discrete variables: 22 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (716): * Single equations (assignments): 706 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00307/3.791, allocations: 0.5578 MB / 2.099 GB, free: 4.148 MB / 1.576 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004946/3.796, allocations: 1.021 MB / 2.1 GB, free: 3.121 MB / 1.576 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01837/3.814, allocations: 6.058 MB / 2.106 GB, free: 13.02 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01046/3.825, allocations: 4.466 MB / 2.111 GB, free: 8.508 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/3.825, allocations: 4 kB / 2.111 GB, free: 8.504 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006923/3.832, allocations: 1.701 MB / 2.112 GB, free: 6.777 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004195/3.836, allocations: 95.98 kB / 2.112 GB, free: 6.684 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008872/3.845, allocations: 291.5 kB / 2.113 GB, free: 6.398 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001305/3.846, allocations: 327 kB / 2.113 GB, free: 6.078 MB / 1.592 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01676/3.863, allocations: 5.561 MB / 2.118 GB, free: 0.5586 MB / 1.592 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01827/3.881, allocations: 7.783 MB / 2.126 GB, free: 8.727 MB / 1.607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004148/3.885, allocations: 2.07 MB / 2.128 GB, free: 6.652 MB / 1.607 GB Notification: Performance of sorting global known variables: time 0.01826/3.904, allocations: 6.272 MB / 2.134 GB, free: 444 kB / 1.607 GB Notification: Performance of Backend: time 1.062e-06/3.904, allocations: 0 / 2.134 GB, free: 444 kB / 1.607 GB Notification: Performance of simCode: created initialization part: time 0.0456/3.949, allocations: 12.14 MB / 2.146 GB, free: 4.621 MB / 1.623 GB Notification: Performance of SimCode: time 0.06826/4.018, allocations: 23.87 MB / 2.169 GB, free: 12.84 MB / 1.654 GB Notification: Performance of Templates: time 1.104/5.121, allocations: 217.9 MB / 2.382 GB, free: 0.5428 GB / 1.654 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.System1.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.System1.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.System1.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.System1.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.System1.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.System1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.System1.pipe 2>&1)