Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 106.3 kB / 16.4 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.001835/0.001835, allocations: 189.2 kB / 17.34 MB, free: 5.758 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 285.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9986/0.9986, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002718/0.002718, allocations: 95.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4035, allocations: 86.97 MB / 0.767 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.00155/0.4051, allocations: 0.5231 MB / 0.7675 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001211/0.4052, allocations: 19.91 kB / 0.7676 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.778e-05/0.4052, allocations: 0 / 0.7676 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.059e-05/0.4052, allocations: 0 / 0.7676 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.4054, allocations: 7.984 kB / 0.7676 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.826e-06/0.4054, allocations: 0 / 0.7676 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.178e-05/0.4054, allocations: 7.938 kB / 0.7676 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.07e-05/0.4055, allocations: 8 kB / 0.7676 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.327e-05/0.4055, allocations: 3.938 kB / 0.7676 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.4055, allocations: 4 kB / 0.7676 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.4055, allocations: 0 / 0.7676 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.47e-06/0.4056, allocations: 0 / 0.7676 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.4056, allocations: 11.91 kB / 0.7676 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.156e-05/0.4056, allocations: 0 / 0.7676 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.108e-05/0.4056, allocations: 3.938 kB / 0.7676 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4056, allocations: 4 kB / 0.7676 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4056, allocations: 0 / 0.7676 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4056, allocations: 0 / 0.7676 GB, free: 3.383 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003131/0.4059, allocations: 319.3 kB / 0.7679 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.406, allocations: 8.031 kB / 0.7679 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.406, allocations: 4.922 kB / 0.7679 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.4061, allocations: 164.4 kB / 0.7681 GB, free: 2.812 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4061, allocations: 4.375 kB / 0.7681 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.4061, allocations: 384 / 0.7681 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.264e-05/0.4062, allocations: 43.92 kB / 0.7681 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.4062, allocations: 4.188 kB / 0.7681 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.4062, allocations: 3.938 kB / 0.7681 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.4062, allocations: 0 / 0.7681 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.4063, allocations: 7.984 kB / 0.7681 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.4064, allocations: 150.5 kB / 0.7683 GB, free: 2.539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.689e-05/0.4065, allocations: 41.16 kB / 0.7683 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.4065, allocations: 17.84 kB / 0.7683 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.4065, allocations: 3.984 kB / 0.7683 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.4066, allocations: 30.56 kB / 0.7684 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4066, allocations: 0 / 0.7684 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001298/0.4067, allocations: 53.56 kB / 0.7684 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.4067, allocations: 77.11 kB / 0.7685 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.4068, allocations: 102 kB / 0.7686 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4068, allocations: 25.7 kB / 0.7686 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.4069, allocations: 80.14 kB / 0.7687 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.4069, allocations: 11.95 kB / 0.7687 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.709e-05/0.4069, allocations: 9.719 kB / 0.7687 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.407, allocations: 310.8 kB / 0.769 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.4071, allocations: 4 kB / 0.769 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.4071, allocations: 13.84 kB / 0.769 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/0.4071, allocations: 29.64 kB / 0.7691 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4071, allocations: 0 / 0.7691 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.658e-05/0.4072, allocations: 41.64 kB / 0.7691 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.4072, allocations: 4 kB / 0.7691 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.4072, allocations: 7.938 kB / 0.7691 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4072, allocations: 128 / 0.7691 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.4073, allocations: 11.98 kB / 0.7691 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.4073, allocations: 0 / 0.7691 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.686e-05/0.4073, allocations: 0 / 0.7691 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.4073, allocations: 7.938 kB / 0.7691 GB, free: 1.562 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.49e-05/0.4074, allocations: 109.8 kB / 0.7692 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.176e-06/0.4074, allocations: 0 / 0.7692 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.4075, allocations: 56.72 kB / 0.7693 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4075, allocations: 0 / 0.7693 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4075, allocations: 4 kB / 0.7693 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4075, allocations: 0 / 0.7693 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.4076, allocations: 155.9 kB / 0.7694 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4076, allocations: 0 / 0.7694 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.4076, allocations: 4 kB / 0.7694 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.4076, allocations: 4 kB / 0.7695 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.4076, allocations: 3.938 kB / 0.7695 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.4076, allocations: 0 / 0.7695 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4076, allocations: 0 / 0.7695 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.588e-05/0.4077, allocations: 73.97 kB / 0.7695 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.4078, allocations: 81.11 kB / 0.7696 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.4078, allocations: 3.938 kB / 0.7696 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.544e-05/0.4078, allocations: 0 / 0.7696 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.4078, allocations: 11.92 kB / 0.7696 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.4078, allocations: 0 / 0.7696 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.407e-05/0.4079, allocations: 79.31 kB / 0.7697 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.4079, allocations: 0 / 0.7697 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001859/0.408, allocations: 4 kB / 0.7697 GB, free: 0.8828 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.427e-05/0.4081, allocations: 91.25 kB / 0.7698 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.504e-05/0.4082, allocations: 16 kB / 0.7698 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4082, allocations: 0 / 0.7698 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.16e-05/0.4082, allocations: 8.156 kB / 0.7698 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.4084, allocations: 15.17 kB / 0.7698 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.4086, allocations: 85.92 kB / 0.7699 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.4089, allocations: 0.6768 MB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.524e-05/0.4089, allocations: 0 / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.4089, allocations: 7.438 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.4089, allocations: 0 / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of Templates: time 0.002105/0.411, allocations: 200.9 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)