Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.System3.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.System3,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.System3") translateModel(Buildings.Examples.Tutorial.CDL.System3,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.System3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.001419, allocations: 118.8 kB / 16.42 MB, free: 6.496 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.001461/0.001461, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.487/1.487, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.697/2.697, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 60.12 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9884/0.9898, allocations: 151.6 MB / 1.167 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System3): time 1.794/2.784, allocations: 0.5136 GB / 1.681 GB, free: 50.88 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.1251/2.909, allocations: 72.87 MB / 1.752 GB, free: 41.83 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02899/2.938, allocations: 435.6 kB / 1.753 GB, free: 41.83 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.02371/2.962, allocations: 5.983 MB / 1.758 GB, free: 40.16 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.05417/3.016, allocations: 14.66 MB / 1.773 GB, free: 33.6 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.031/3.047, allocations: 10.42 MB / 1.783 GB, free: 27.25 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.05895/3.106, allocations: 38.3 MB / 1.82 GB, free: 6.984 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02793/3.134, allocations: 12.24 MB / 1.832 GB, free: 10.8 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03818/3.172, allocations: 12.42 MB / 1.844 GB, free: 15.07 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02305/3.195, allocations: 9.32 MB / 1.853 GB, free: 6.418 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.007242/3.202, allocations: 1.227 MB / 1.855 GB, free: 5.191 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02642/3.229, allocations: 6.596 MB / 1.861 GB, free: 14.97 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.009771/3.239, allocations: 3.636 MB / 1.865 GB, free: 11.39 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.0226/3.261, allocations: 7.286 MB / 1.872 GB, free: 4.145 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.05359/3.315, allocations: 20.95 MB / 1.892 GB, free: 15.88 MB / 1.373 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/3.315, allocations: 0 / 1.892 GB, free: 15.88 MB / 1.373 GB Notification: Performance of FrontEnd: time 7.334e-06/3.315, allocations: 4 kB / 1.892 GB, free: 15.87 MB / 1.373 GB Notification: Performance of Transformations before backend: time 0.0009688/3.316, allocations: 0 / 1.892 GB, free: 15.87 MB / 1.373 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1875 * Number of variables: 1875 Notification: Performance of Generate backend data structure: time 0.05321/3.369, allocations: 14.31 MB / 1.906 GB, free: 1.535 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/3.369, allocations: 8.922 kB / 1.906 GB, free: 1.527 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/3.387, allocations: 2.296 MB / 1.908 GB, free: 15.22 MB / 1.389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03765/3.425, allocations: 12.53 MB / 1.921 GB, free: 2.863 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009956/3.426, allocations: 0.5688 MB / 1.921 GB, free: 2.297 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00353/3.429, allocations: 0.7568 MB / 1.922 GB, free: 1.543 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03275/3.462, allocations: 8.674 MB / 1.93 GB, free: 8.586 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000464/3.463, allocations: 19.78 kB / 1.93 GB, free: 8.566 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003335/3.466, allocations: 319.7 kB / 1.931 GB, free: 8.258 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004142/3.467, allocations: 293.9 kB / 1.931 GB, free: 7.969 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02354/3.49, allocations: 7.147 MB / 1.938 GB, free: 0.8086 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.09615/3.586, allocations: 42.38 MB / 1.979 GB, free: 3.949 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/3.598, allocations: 4.693 MB / 1.984 GB, free: 15.21 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00607/3.604, allocations: 2.433 MB / 1.986 GB, free: 12.77 MB / 1.467 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.03684/3.641, allocations: 10.72 MB / 1.997 GB, free: 1.664 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008193/3.649, allocations: 2.525 MB / 1.999 GB, free: 15.1 MB / 1.482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006588/3.656, allocations: 387.6 kB / 2 GB, free: 14.71 MB / 1.482 GB Notification: Performance of pre-optimization done (n=406): time 3.784e-05/3.656, allocations: 4 kB / 2 GB, free: 14.71 MB / 1.482 GB Notification: Performance of matching and sorting (n=414): time 0.05821/3.714, allocations: 14.97 MB / 2.014 GB, free: 15.48 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001682/3.715, allocations: 274.6 kB / 2.015 GB, free: 15.16 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02732/3.742, allocations: 9.643 MB / 2.024 GB, free: 5.574 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.001789/3.744, allocations: 129.7 kB / 2.024 GB, free: 5.441 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.009443/3.753, allocations: 5.364 MB / 2.029 GB, free: 76 kB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.00362/3.757, allocations: 1.441 MB / 2.031 GB, free: 14.64 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006537/3.764, allocations: 1.364 MB / 2.032 GB, free: 13.27 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 0.0001304/3.764, allocations: 309.1 kB / 2.032 GB, free: 12.97 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007003/3.771, allocations: 2.567 MB / 2.035 GB, free: 10.39 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009108/3.78, allocations: 4.362 MB / 2.039 GB, free: 5.297 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01361/3.793, allocations: 6.476 MB / 2.045 GB, free: 14.18 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-05/3.794, allocations: 12 kB / 2.046 GB, free: 14.17 MB / 1.529 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.03189/3.825, allocations: 9.209 MB / 2.054 GB, free: 4.852 MB / 1.529 GB Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/3.826, allocations: 25.56 kB / 2.055 GB, free: 4.828 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/3.826, allocations: 40 kB / 2.055 GB, free: 4.789 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01082/3.837, allocations: 1.772 MB / 2.056 GB, free: 3.008 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007323/3.844, allocations: 1.357 MB / 2.058 GB, free: 1.648 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/3.858, allocations: 8.342 MB / 2.066 GB, free: 8.816 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01076/3.869, allocations: 418.2 kB / 2.066 GB, free: 8.41 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001667/3.871, allocations: 291.9 kB / 2.066 GB, free: 8.125 MB / 1.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01505/3.886, allocations: 4.61 MB / 2.071 GB, free: 3.508 MB / 1.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009365/3.895, allocations: 4.257 MB / 2.075 GB, free: 14.52 MB / 1.561 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01439/3.91, allocations: 6.309 MB / 2.081 GB, free: 7.566 MB / 1.561 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.277e-05/3.91, allocations: 15.94 kB / 2.081 GB, free: 7.551 MB / 1.561 GB Notification: Performance of matching and sorting (n=854) (initialization_lambda0): time 0.03119/3.941, allocations: 8.535 MB / 2.09 GB, free: 14.89 MB / 1.576 GB Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/3.941, allocations: 20 kB / 2.09 GB, free: 14.88 MB / 1.576 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.12e-05/3.941, allocations: 47.94 kB / 2.09 GB, free: 14.83 MB / 1.576 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009981/3.951, allocations: 1.58 MB / 2.091 GB, free: 13.23 MB / 1.576 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006591/3.958, allocations: 1.318 MB / 2.093 GB, free: 11.91 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/3.975, allocations: 10.55 MB / 2.103 GB, free: 0.7656 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01038/3.985, allocations: 437.9 kB / 2.103 GB, free: 348 kB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/3.987, allocations: 283.9 kB / 2.103 GB, free: 64 kB / 1.576 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 186 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,conBoiRet.conPID.con1.y,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 (733): * Single equations (assignments): 723 * 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 {(5,6), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002712/3.99, allocations: 0.5546 MB / 2.104 GB, free: 15.5 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004369/3.994, allocations: 0.9875 MB / 2.105 GB, free: 14.5 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/4.013, allocations: 6.186 MB / 2.111 GB, free: 8.27 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01185/4.025, allocations: 4.545 MB / 2.115 GB, free: 3.688 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/4.025, allocations: 0 / 2.115 GB, free: 3.688 MB / 1.592 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007694/4.033, allocations: 1.687 MB / 2.117 GB, free: 1.969 MB / 1.592 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004946/4.038, allocations: 103.9 kB / 2.117 GB, free: 1.867 MB / 1.592 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008916/4.047, allocations: 297.5 kB / 2.118 GB, free: 1.578 MB / 1.592 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001314/4.048, allocations: 327.1 kB / 2.118 GB, free: 1.258 MB / 1.592 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01734/4.065, allocations: 5.674 MB / 2.123 GB, free: 11.63 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01715/4.082, allocations: 7.897 MB / 2.131 GB, free: 3.684 MB / 1.607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00389/4.086, allocations: 2.122 MB / 2.133 GB, free: 1.559 MB / 1.607 GB Notification: Performance of sorting global known variables: time 0.01384/4.1, allocations: 6.39 MB / 2.139 GB, free: 11.23 MB / 1.623 GB Notification: Performance of Backend: time 9.92e-07/4.1, allocations: 0 / 2.139 GB, free: 11.23 MB / 1.623 GB Notification: Performance of simCode: created initialization part: time 0.03899/4.139, allocations: 12.3 MB / 2.151 GB, free: 15.24 MB / 1.639 GB Notification: Performance of SimCode: time 0.06038/4.2, allocations: 23.87 MB / 2.175 GB, free: 7.5 MB / 1.654 GB Notification: Performance of Templates: time 1.621/5.821, allocations: 219.4 MB / 2.389 GB, free: 0.529 GB / 1.654 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.System3.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.System3.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.System3.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.System3.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.System3.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.System3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.System3.pipe 2>&1)