Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.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.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") translateModel(BuildingSystems.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001111/0.001111, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002055/0.002055, allocations: 286.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9134/0.9134, allocations: 169.3 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003159/0.003159, allocations: 95.86 kB / 0.6821 GB, free: 6.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3946, allocations: 86.98 MB / 0.7671 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example1v2): time 0.07152/0.4662, allocations: 81.04 MB / 0.8462 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02723/0.4935, allocations: 21.07 MB / 0.8668 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003221/0.4967, allocations: 111.4 kB / 0.8669 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004966/0.5017, allocations: 1.958 MB / 0.8688 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00722/0.509, allocations: 2.932 MB / 0.8717 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005533/0.5145, allocations: 2.482 MB / 0.8741 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.02753/0.542, allocations: 29.81 MB / 0.9032 GB, free: 8.152 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0198/0.5619, allocations: 17.03 MB / 0.9198 GB, free: 7 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02049/0.5824, allocations: 11.42 MB / 0.931 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01951/0.602, allocations: 11.73 MB / 0.9424 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.004851/0.6069, allocations: 1.293 MB / 0.9437 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009808/0.6167, allocations: 2.755 MB / 0.9464 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.006442/0.6232, allocations: 3.775 MB / 0.9501 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.01207/0.6352, allocations: 6.68 MB / 0.9566 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.6724/1.308, allocations: 19.11 MB / 0.9753 GB, free: 51.95 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/1.308, allocations: 0 / 0.9753 GB, free: 51.95 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/1.308, allocations: 0.5938 kB / 0.9753 GB, free: 51.95 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.00043/1.308, allocations: 2.938 kB / 0.9753 GB, free: 51.95 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.03333/1.341, allocations: 12.64 MB / 0.9876 GB, free: 47.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.342, allocations: 8.469 kB / 0.9876 GB, free: 47.73 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007431/1.349, allocations: 1.392 MB / 0.989 GB, free: 47.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02064/1.37, allocations: 11.2 MB / 0.9999 GB, free: 45.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/1.37, allocations: 434.5 kB / 1 GB, free: 45.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00359/1.374, allocations: 0.5886 MB / 1.001 GB, free: 45.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02545/1.399, allocations: 14.65 MB / 1.015 GB, free: 43.19 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/1.399, allocations: 25.92 kB / 1.015 GB, free: 43.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00134/1.401, allocations: 240.9 kB / 1.015 GB, free: 43.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.604e-05/1.401, allocations: 140.2 kB / 1.016 GB, free: 43.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02721/1.428, allocations: 19.8 MB / 1.035 GB, free: 38.3 MB / 0.7169 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.08807/1.516, allocations: 60.46 MB / 1.094 GB, free: 10.18 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0137/1.53, allocations: 9.185 MB / 1.103 GB, free: 0.9844 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0115/1.541, allocations: 8.607 MB / 1.111 GB, free: 8.379 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0502/1.591, allocations: 27.51 MB / 1.138 GB, free: 12.62 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01186/1.603, allocations: 7.643 MB / 1.146 GB, free: 4.934 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01612/1.619, allocations: 4.503 MB / 1.15 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of pre-optimization done (n=298): time 1.556e-05/1.619, allocations: 0 / 1.15 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of matching and sorting (n=298): time 0.05205/1.672, allocations: 23.82 MB / 1.173 GB, free: 8.684 MB / 0.8263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/1.672, allocations: 85.75 kB / 1.173 GB, free: 8.586 MB / 0.8263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01467/1.686, allocations: 8.836 MB / 1.182 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.001469/1.688, allocations: 97.7 kB / 1.182 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.004232/1.692, allocations: 4.204 MB / 1.186 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002314/1.694, allocations: 1.079 MB / 1.187 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004138/1.698, allocations: 1.767 MB / 1.189 GB, free: 8.633 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/1.699, allocations: 305.1 kB / 1.189 GB, free: 8.332 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009382/1.708, allocations: 6.741 MB / 1.196 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/1.719, allocations: 8.565 MB / 1.204 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02323/1.742, allocations: 15.6 MB / 1.22 GB, free: 8.082 MB / 0.8732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.453e-05/1.742, allocations: 12 kB / 1.22 GB, free: 8.07 MB / 0.8732 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03592/1.778, allocations: 18.09 MB / 1.237 GB, free: 6.246 MB / 0.8888 GB Notification: Performance of prepare postOptimizeDAE: time 7.964e-05/1.778, allocations: 53.7 kB / 1.237 GB, free: 6.188 MB / 0.8888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.53e-05/1.778, allocations: 48 kB / 1.237 GB, free: 6.141 MB / 0.8888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0757/1.854, allocations: 11.59 MB / 1.249 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009045/1.863, allocations: 1.601 MB / 1.25 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005935/1.869, allocations: 3.789 MB / 1.254 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/1.88, allocations: 351.7 kB / 1.254 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002188/1.882, allocations: 0.5538 MB / 1.255 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01577/1.898, allocations: 9.128 MB / 1.264 GB, free: 11.21 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01117/1.909, allocations: 8.537 MB / 1.272 GB, free: 1.848 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02139/1.93, allocations: 15.54 MB / 1.287 GB, free: 1.789 MB / 0.9357 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-05/1.93, allocations: 12 kB / 1.287 GB, free: 1.777 MB / 0.9357 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.0327/1.963, allocations: 17.94 MB / 1.305 GB, free: 68 kB / 0.9513 GB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/1.963, allocations: 60.66 kB / 1.305 GB, free: 4 kB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3226/2.286, allocations: 49.39 kB / 1.305 GB, free: 385.7 MB / 0.9513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07273/2.358, allocations: 11.13 MB / 1.316 GB, free: 385.3 MB / 0.9513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008451/2.367, allocations: 1.603 MB / 1.317 GB, free: 385.3 MB / 0.9513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009064/2.376, allocations: 8.171 MB / 1.325 GB, free: 381.7 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/2.387, allocations: 373 kB / 1.326 GB, free: 381.7 MB / 0.9513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002108/2.389, allocations: 0.5506 MB / 1.326 GB, free: 381.7 MB / 0.9513 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (558): * Single equations (assignments): 552 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002209/2.391, allocations: 495.8 kB / 1.327 GB, free: 381.4 MB / 0.9513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002966/2.394, allocations: 0.7968 MB / 1.327 GB, free: 381.4 MB / 0.9513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02141/2.416, allocations: 14.12 MB / 1.341 GB, free: 376.4 MB / 0.9513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0126/2.428, allocations: 10.68 MB / 1.352 GB, free: 366.9 MB / 0.9513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/2.428, allocations: 0 / 1.352 GB, free: 366.9 MB / 0.9513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00498/2.433, allocations: 1.872 MB / 1.353 GB, free: 365.5 MB / 0.9513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00244/2.436, allocations: 71.98 kB / 1.353 GB, free: 365.4 MB / 0.9513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006772/2.443, allocations: 213.8 kB / 1.354 GB, free: 365.2 MB / 0.9513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/2.444, allocations: 262.2 kB / 1.354 GB, free: 364.9 MB / 0.9513 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01925/2.463, allocations: 11.62 MB / 1.365 GB, free: 353.4 MB / 0.9513 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02167/2.485, allocations: 19.14 MB / 1.384 GB, free: 334.3 MB / 0.9513 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005596/2.49, allocations: 5.964 MB / 1.39 GB, free: 328.3 MB / 0.9513 GB Notification: Performance of sorting global known variables: time 0.008374/2.499, allocations: 6.079 MB / 1.396 GB, free: 322.2 MB / 0.9513 GB Notification: Performance of Backend: time 2.205e-06/2.499, allocations: 4 kB / 1.396 GB, free: 322.2 MB / 0.9513 GB Notification: Performance of simCode: created initialization part: time 0.03558/2.534, allocations: 19.82 MB / 1.415 GB, free: 302.5 MB / 0.9513 GB Notification: Performance of SimCode: time 0.03775/2.572, allocations: 21.71 MB / 1.436 GB, free: 281 MB / 0.9513 GB Notification: Performance of Templates: time 0.6216/3.194, allocations: 280.3 MB / 1.71 GB, free: 384.1 MB / 0.9513 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example1v2.pipe 2>&1)