Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.233/2.233, allocations: 391.2 MB / 407 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 202.3 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 107.6 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 50.61 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2519, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.05031/0.3023, allocations: 71.85 MB / 1.288 GB, free: 45.19 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.3216, allocations: 17.13 MB / 1.305 GB, free: 28.03 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.3249, allocations: 87.44 kB / 1.305 GB, free: 27.94 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.3277, allocations: 0.8493 MB / 1.306 GB, free: 27.09 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005405/0.3332, allocations: 2.189 MB / 1.308 GB, free: 24.89 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004208/0.3374, allocations: 1.851 MB / 1.31 GB, free: 23.05 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007736/0.3451, allocations: 10.67 MB / 1.32 GB, free: 12.36 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005606/0.3508, allocations: 5.637 MB / 1.326 GB, free: 6.656 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005204/0.356, allocations: 2.921 MB / 1.329 GB, free: 3.723 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003911/0.3599, allocations: 2.501 MB / 1.331 GB, free: 1.211 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005699/0.3605, allocations: 160 kB / 1.331 GB, free: 1.055 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.3638, allocations: 1.264 MB / 1.332 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0007612/0.3646, allocations: 0.665 MB / 1.333 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.002268/0.3669, allocations: 1.651 MB / 1.335 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.005459/0.3724, allocations: 4.603 MB / 1.339 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3724, allocations: 3.984 kB / 1.339 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3724, allocations: 0 / 1.339 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.006e-05/0.3725, allocations: 0 / 1.339 GB, free: 8.84 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.006909/0.3794, allocations: 3.95 MB / 1.343 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3794, allocations: 15.98 kB / 1.343 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002643/0.3821, allocations: 0.632 MB / 1.344 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004834/0.3869, allocations: 2.686 MB / 1.346 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.387, allocations: 135.8 kB / 1.346 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002629/0.3873, allocations: 187.9 kB / 1.347 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003449/0.3908, allocations: 2.342 MB / 1.349 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.3908, allocations: 7.938 kB / 1.349 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.391, allocations: 64 kB / 1.349 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.391, allocations: 40 kB / 1.349 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/0.3945, allocations: 1.919 MB / 1.351 GB, free: 12.57 MB / 0.8542 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.01309/0.4076, allocations: 11.27 MB / 1.362 GB, free: 0.6836 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003273/0.4109, allocations: 1.393 MB / 1.363 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.4125, allocations: 1.025 MB / 1.364 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005748/0.4182, allocations: 3.662 MB / 1.368 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/0.4197, allocations: 0.8013 MB / 1.369 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001231/0.421, allocations: 282.8 kB / 1.369 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=96): time 5.831e-06/0.421, allocations: 0 / 1.369 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of matching and sorting (n=96): time 0.01194/0.4329, allocations: 4.183 MB / 1.373 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.433, allocations: 64.41 kB / 1.373 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004488/0.4375, allocations: 2.856 MB / 1.376 GB, free: 2.074 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.4377, allocations: 57.7 kB / 1.376 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.439, allocations: 1.438 MB / 1.377 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003599/0.4394, allocations: 335.2 kB / 1.378 GB, free: 232 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006064/0.44, allocations: 339.6 kB / 1.378 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/0.4401, allocations: 305.1 kB / 1.378 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.4415, allocations: 0.6926 MB / 1.379 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.4434, allocations: 1.422 MB / 1.38 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.4466, allocations: 1.905 MB / 1.382 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/0.4466, allocations: 12 kB / 1.382 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005973/0.4526, allocations: 2.831 MB / 1.385 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.4527, allocations: 38.64 kB / 1.385 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.4527, allocations: 12 kB / 1.385 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002389/0.4551, allocations: 0.6925 MB / 1.386 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.4563, allocations: 285.4 kB / 1.386 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.458, allocations: 1.905 MB / 1.388 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.4601, allocations: 188.6 kB / 1.388 GB, free: 4.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.4602, allocations: 83.91 kB / 1.388 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002234/0.4625, allocations: 1.288 MB / 1.389 GB, free: 3.605 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001647/0.4641, allocations: 1.381 MB / 1.391 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002724/0.4669, allocations: 1.806 MB / 1.392 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.431e-05/0.4669, allocations: 11.98 kB / 1.392 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization_lambda0): time 0.004795/0.4717, allocations: 2.669 MB / 1.395 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.346e-05/0.4718, allocations: 45.62 kB / 1.395 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.4718, allocations: 16 kB / 1.395 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/0.4727, allocations: 473.7 kB / 1.396 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4739, allocations: 285.4 kB / 1.396 GB, free: 12.33 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006554/0.4804, allocations: 5.855 MB / 1.402 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/0.4828, allocations: 193.3 kB / 1.402 GB, free: 6.008 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000203/0.483, allocations: 75.97 kB / 1.402 GB, free: 5.934 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004945/0.4835, allocations: 282.6 kB / 1.402 GB, free: 5.648 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007698/0.4843, allocations: 292.3 kB / 1.402 GB, free: 5.359 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005168/0.4894, allocations: 2.324 MB / 1.405 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.4895, allocations: 15.98 kB / 1.405 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4895, allocations: 4 kB / 1.405 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003417/0.4929, allocations: 2.026 MB / 1.407 GB, free: 0.8906 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.009381/0.5023, allocations: 4.41 MB / 1.411 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.5024, allocations: 0 / 1.411 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008055/0.5032, allocations: 149.8 kB / 1.411 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.5042, allocations: 472.8 kB / 1.412 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/0.5043, allocations: 39.91 kB / 1.412 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001606/0.506, allocations: 1.846 MB / 1.413 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.506, allocations: 7.969 kB / 1.413 GB, free: 9.832 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.639/1.145, allocations: 44.64 MB / 1.457 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.146, allocations: 480.6 kB / 1.457 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005409/1.147, allocations: 18.69 kB / 1.457 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/1.148, allocations: 149.2 kB / 1.458 GB, free: 180.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/1.148, allocations: 63.5 kB / 1.458 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.149, allocations: 40.25 kB / 1.458 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002782/1.151, allocations: 1.96 MB / 1.46 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/1.151, allocations: 0 / 1.46 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007948/1.159, allocations: 2.432 MB / 1.462 GB, free: 178.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/1.161, allocations: 0.5377 MB / 1.462 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005212/1.166, allocations: 3.151 MB / 1.466 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.166, allocations: 8.062 kB / 1.466 GB, free: 174.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/1.167, allocations: 0.7706 MB / 1.466 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005105/1.173, allocations: 1.182 MB / 1.467 GB, free: 173 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00898/1.182, allocations: 7.115 MB / 1.474 GB, free: 165.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/1.183, allocations: 2.087 MB / 1.476 GB, free: 163.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003108/1.186, allocations: 0.7944 MB / 1.477 GB, free: 162.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008612/1.187, allocations: 219.3 kB / 1.477 GB, free: 162.7 MB / 0.9167 GB Notification: Performance of SimCode: time 4.41e-07/1.187, allocations: 4 kB / 1.477 GB, free: 162.7 MB / 0.9167 GB Notification: Performance of Templates: time 0.08643/1.274, allocations: 67.78 MB / 1.544 GB, free: 95.55 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)