Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rad1.sta_a.T|rad1.sta_b.T|rad1.vol.3..T|rad2.sta_a.T|rad2.sta_b.T|rad2.vol.3..T|sou.T|rad1.Q_flow|rad2.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") translateModel(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rad1.sta_a.T|rad1.sta_b.T|rad1.vol.3..T|rad2.sta_a.T|rad2.sta_b.T|rad2.vol.3..T|sou.T|rad1.Q_flow|rad2.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 105.5 kB / 16.37 MB, free: 6.312 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.001632/0.001632, allocations: 187.3 kB / 17.3 MB, free: 5.871 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.453/2.453, allocations: 442.6 MB / 0.7166 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.81 kB / 0.8774 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3408, allocations: 153 MB / 1.027 GB, free: 2.082 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2): time 0.05538/0.3962, allocations: 46.88 MB / 1.073 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5273/0.9236, allocations: 12.71 MB / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.927, allocations: 68.67 kB / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.93, allocations: 0.7623 MB / 1.086 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.009126/0.9391, allocations: 2.406 MB / 1.088 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004734/0.9439, allocations: 1.385 MB / 1.089 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01832/0.9622, allocations: 14.02 MB / 1.103 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009201/0.9715, allocations: 5.776 MB / 1.109 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01134/0.9828, allocations: 4.471 MB / 1.113 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008889/0.9917, allocations: 3.928 MB / 1.117 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.002478/0.9942, allocations: 0.5409 MB / 1.118 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008286/1.003, allocations: 1.915 MB / 1.119 GB, free: 2.105 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004029/1.007, allocations: 1.47 MB / 1.121 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01077/1.017, allocations: 2.816 MB / 1.124 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01788/1.035, allocations: 8.331 MB / 1.132 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/1.035, allocations: 5.188 kB / 1.132 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/1.035, allocations: 0 / 1.132 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003218/1.036, allocations: 0 / 1.132 GB, free: 12.98 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 0.02263/1.058, allocations: 5.508 MB / 1.137 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/1.058, allocations: 9.094 kB / 1.137 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01087/1.069, allocations: 1.47 MB / 1.139 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/1.083, allocations: 4.88 MB / 1.143 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005018/1.083, allocations: 291.2 kB / 1.144 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001828/1.085, allocations: 305.6 kB / 1.144 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/1.098, allocations: 4.485 MB / 1.148 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001169/1.098, allocations: 14.41 kB / 1.148 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009774/1.099, allocations: 123.1 kB / 1.148 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/1.099, allocations: 142.6 kB / 1.149 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00839/1.107, allocations: 3.813 MB / 1.152 GB, free: 476 kB / 0.8575 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.04901/1.156, allocations: 22.05 MB / 1.174 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/1.161, allocations: 2.227 MB / 1.176 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002478/1.163, allocations: 1.266 MB / 1.177 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/1.164, allocations: 0.5416 MB / 1.178 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.773e-05/1.164, allocations: 52.94 kB / 1.178 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=160): time 6.041e-06/1.164, allocations: 4 kB / 1.178 GB, free: 7.469 MB / 0.8887 GB Notification: Performance of matching and sorting (n=160): time 0.02448/1.189, allocations: 6.17 MB / 1.184 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/1.189, allocations: 68.7 kB / 1.184 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008084/1.197, allocations: 3.488 MB / 1.187 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001056/1.198, allocations: 69.64 kB / 1.187 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.002628/1.2, allocations: 1.756 MB / 1.189 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001707/1.202, allocations: 0.5521 MB / 1.19 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002605/1.205, allocations: 495.7 kB / 1.19 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.205, allocations: 309.1 kB / 1.19 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005273/1.21, allocations: 1.758 MB / 1.192 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006045/1.216, allocations: 2.381 MB / 1.194 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008396/1.225, allocations: 3.464 MB / 1.198 GB, free: 2.383 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.594e-05/1.225, allocations: 7.938 kB / 1.198 GB, free: 2.375 MB / 0.9044 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.03733/1.262, allocations: 7.575 MB / 1.205 GB, free: 10.77 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/1.262, allocations: 16 kB / 1.205 GB, free: 10.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/1.262, allocations: 16 kB / 1.205 GB, free: 10.74 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02651/1.289, allocations: 4.46 MB / 1.21 GB, free: 6.277 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/1.292, allocations: 499.2 kB / 1.21 GB, free: 5.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01749/1.309, allocations: 6.627 MB / 1.217 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006486/1.316, allocations: 0.5247 MB / 1.217 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008065/1.316, allocations: 115.9 kB / 1.217 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008915/1.325, allocations: 2.979 MB / 1.22 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006248/1.332, allocations: 2.319 MB / 1.222 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00735/1.339, allocations: 3.326 MB / 1.226 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.541e-05/1.339, allocations: 4 kB / 1.226 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.03183/1.371, allocations: 7.368 MB / 1.233 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/1.371, allocations: 12 kB / 1.233 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/1.371, allocations: 16 kB / 1.233 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02446/1.396, allocations: 4.284 MB / 1.237 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/1.398, allocations: 467.2 kB / 1.237 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/1.414, allocations: 5.417 MB / 1.243 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006454/1.42, allocations: 0.506 MB / 1.243 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006605/1.421, allocations: 107.9 kB / 1.243 GB, free: 3.043 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 212 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,8), (5,40), (3,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001252/1.422, allocations: 311.6 kB / 1.244 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001999/1.424, allocations: 328.1 kB / 1.244 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006132/1.43, allocations: 3.042 MB / 1.247 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003875/1.434, allocations: 2.499 MB / 1.249 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.434, allocations: 192 / 1.249 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002567/1.437, allocations: 0.7621 MB / 1.25 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/1.438, allocations: 35.98 kB / 1.25 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003168/1.441, allocations: 143.9 kB / 1.25 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/1.442, allocations: 113.8 kB / 1.25 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006903/1.448, allocations: 3.38 MB / 1.254 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006583/1.455, allocations: 3.956 MB / 1.258 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001489/1.457, allocations: 1.116 MB / 1.259 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.005277/1.462, allocations: 2.44 MB / 1.261 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of Backend: time 7.32e-07/1.462, allocations: 0 / 1.261 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.02761/1.49, allocations: 6.402 MB / 1.267 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of SimCode: time 0.02395/1.514, allocations: 9.628 MB / 1.277 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of Templates: time 0.164/1.678, allocations: 104.1 MB / 1.378 GB, free: 9.68 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.pipe 2>&1)