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.004675/0.004675, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.001016/0.001016, allocations: 189 kB / 16.67 MB, free: 5.961 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 282.1 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8994/0.8994, allocations: 169.3 MB / 0.4983 GB, free: 4.398 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 91.86 kB / 0.6814 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3852, allocations: 86.99 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001712/0.3869, allocations: 0.5149 MB / 0.7669 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.3871, allocations: 15.91 kB / 0.7669 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.8e-05/0.3871, allocations: 4 kB / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.3872, allocations: 0 / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.3874, allocations: 0 / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.3874, allocations: 0 / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.3875, allocations: 11.94 kB / 0.7669 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.3875, allocations: 0 / 0.7669 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.3876, allocations: 11.92 kB / 0.7669 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.262e-05/0.3876, allocations: 3.984 kB / 0.7669 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.3876, allocations: 0 / 0.7669 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.3877, allocations: 0 / 0.7669 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.188e-05/0.3877, allocations: 0 / 0.7669 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.495e-05/0.3877, allocations: 4 kB / 0.7669 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.944e-05/0.3877, allocations: 11.94 kB / 0.7669 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3878, allocations: 0 / 0.7669 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3878, allocations: 0 / 0.7669 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.3878, allocations: 0 / 0.7669 GB, free: 3.324 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.0003054/0.3881, allocations: 311.6 kB / 0.7672 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.3881, allocations: 8.031 kB / 0.7672 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.3882, allocations: 12.88 kB / 0.7673 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.3883, allocations: 164 kB / 0.7674 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3883, allocations: 8.375 kB / 0.7674 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.3883, allocations: 384 / 0.7674 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.3884, allocations: 47.91 kB / 0.7675 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3885, allocations: 192 / 0.7675 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.3885, allocations: 3.938 kB / 0.7675 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3885, allocations: 0 / 0.7675 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.648e-05/0.3885, allocations: 4 kB / 0.7675 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.3887, allocations: 158.6 kB / 0.7676 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.528e-05/0.3888, allocations: 41.2 kB / 0.7677 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.198e-05/0.3888, allocations: 13.72 kB / 0.7677 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.3888, allocations: 0 / 0.7677 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3888, allocations: 34.56 kB / 0.7677 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3888, allocations: 4 kB / 0.7677 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001516/0.389, allocations: 53.47 kB / 0.7678 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.3891, allocations: 81.05 kB / 0.7678 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.847e-05/0.3892, allocations: 93.86 kB / 0.7679 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3892, allocations: 25.7 kB / 0.768 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.766e-05/0.3892, allocations: 80.14 kB / 0.768 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.3893, allocations: 7.984 kB / 0.768 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.3893, allocations: 18.09 kB / 0.7681 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3894, allocations: 310.8 kB / 0.7684 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.388e-05/0.3894, allocations: 7.922 kB / 0.7684 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.304e-05/0.3895, allocations: 17.72 kB / 0.7684 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.624e-05/0.3895, allocations: 13.72 kB / 0.7684 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3895, allocations: 0 / 0.7684 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.231e-05/0.3896, allocations: 49.61 kB / 0.7684 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.3896, allocations: 11.98 kB / 0.7684 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3896, allocations: 3.938 kB / 0.7685 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3896, allocations: 0 / 0.7685 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.3897, allocations: 4 kB / 0.7685 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3897, allocations: 0 / 0.7685 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.3898, allocations: 0 / 0.7685 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3898, allocations: 4 kB / 0.7685 GB, free: 1.504 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.886e-05/0.3899, allocations: 112.3 kB / 0.7686 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.3899, allocations: 3.938 kB / 0.7686 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.39, allocations: 52.75 kB / 0.7686 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.39, allocations: 0 / 0.7686 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.39, allocations: 0 / 0.7686 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.39, allocations: 3.938 kB / 0.7686 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.3901, allocations: 153.7 kB / 0.7688 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3902, allocations: 3.938 kB / 0.7688 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.613e-05/0.3902, allocations: 8.062 kB / 0.7688 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3902, allocations: 0 / 0.7688 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3902, allocations: 3.938 kB / 0.7688 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3902, allocations: 0 / 0.7688 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3902, allocations: 4 kB / 0.7688 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.871e-05/0.3903, allocations: 65.98 kB / 0.7689 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.3904, allocations: 77.11 kB / 0.7689 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3904, allocations: 19.94 kB / 0.7689 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.798e-05/0.3904, allocations: 4 kB / 0.769 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.3904, allocations: 3.938 kB / 0.769 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3904, allocations: 0 / 0.769 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.3905, allocations: 75.28 kB / 0.769 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3905, allocations: 4 kB / 0.769 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001878/0.3907, allocations: 0 / 0.769 GB, free: 0.8203 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 0.0001122/0.3908, allocations: 103.3 kB / 0.7691 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.982e-05/0.3909, allocations: 7.984 kB / 0.7691 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3909, allocations: 3.938 kB / 0.7691 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-06/0.3909, allocations: 7.938 kB / 0.7691 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.391, allocations: 6.5 kB / 0.7692 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002004/0.3912, allocations: 81.94 kB / 0.7692 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3915, allocations: 0.6808 MB / 0.7699 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.806e-05/0.3915, allocations: 4 kB / 0.7699 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.3915, allocations: 11.44 kB / 0.7699 GB, free: 15.85 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.3916, allocations: 0 / 0.7699 GB, free: 15.85 MB / 0.545 GB Notification: Performance of Templates: time 0.001704/0.3933, allocations: 196.8 kB / 0.7701 GB, free: 15.66 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)