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.006828/0.006828, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001695/0.001695, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.292/1.292, allocations: 222.9 MB / 240.3 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.002083/0.002082, allocations: 281.2 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9174/0.9174, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 91.86 kB / 0.6814 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4306, allocations: 86.97 MB / 0.7664 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example8): time 0.001557/0.4322, allocations: 0.5111 MB / 0.7669 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001172/0.4324, allocations: 19.92 kB / 0.7669 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.551e-05/0.4324, allocations: 0 / 0.7669 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.4324, allocations: 0 / 0.7669 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.4326, allocations: 11.92 kB / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.357e-06/0.4326, allocations: 0 / 0.7669 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.976e-05/0.4326, allocations: 7.922 kB / 0.7669 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.508e-05/0.4327, allocations: 4 kB / 0.7669 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.4327, allocations: 4 kB / 0.7669 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.4328, allocations: 0 / 0.7669 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/0.4328, allocations: 0 / 0.7669 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.38e-06/0.4328, allocations: 4 kB / 0.7669 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.887e-06/0.4328, allocations: 4 kB / 0.7669 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.346e-05/0.4328, allocations: 3.938 kB / 0.7669 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 4.235e-05/0.4329, allocations: 7.984 kB / 0.7669 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4329, allocations: 0 / 0.7669 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4329, allocations: 0 / 0.7669 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.4329, allocations: 0 / 0.7669 GB, free: 3.332 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.000262/0.4332, allocations: 315.5 kB / 0.7672 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.4332, allocations: 12.03 kB / 0.7672 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.563e-05/0.4332, allocations: 0.9375 kB / 0.7672 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.321e-05/0.4333, allocations: 164 kB / 0.7674 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4333, allocations: 12.31 kB / 0.7674 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.4334, allocations: 4.375 kB / 0.7674 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.293e-05/0.4334, allocations: 43.97 kB / 0.7675 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4335, allocations: 192 / 0.7675 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4335, allocations: 3.938 kB / 0.7675 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4335, allocations: 0 / 0.7675 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.4335, allocations: 7.938 kB / 0.7675 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.4337, allocations: 162.5 kB / 0.7676 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.352e-05/0.4337, allocations: 37.22 kB / 0.7677 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.4337, allocations: 17.78 kB / 0.7677 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4338, allocations: 0 / 0.7677 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.4338, allocations: 34.56 kB / 0.7677 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.4338, allocations: 0 / 0.7677 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001217/0.4339, allocations: 53.47 kB / 0.7678 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.434, allocations: 81.11 kB / 0.7678 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.976e-05/0.434, allocations: 93.8 kB / 0.7679 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.434, allocations: 25.7 kB / 0.768 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.101e-05/0.4341, allocations: 80.14 kB / 0.768 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.4341, allocations: 4.375 kB / 0.768 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.4341, allocations: 21.7 kB / 0.7681 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.288e-05/0.4342, allocations: 310.8 kB / 0.7683 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.4342, allocations: 4 kB / 0.7684 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.4343, allocations: 9.719 kB / 0.7684 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.317e-05/0.4343, allocations: 25.72 kB / 0.7684 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4343, allocations: 4 kB / 0.7684 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.537e-05/0.4344, allocations: 41.59 kB / 0.7684 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.4344, allocations: 7.938 kB / 0.7684 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.4344, allocations: 3.938 kB / 0.7684 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.4344, allocations: 4 kB / 0.7684 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.299e-05/0.4345, allocations: 0 / 0.7684 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.4345, allocations: 4 kB / 0.7684 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.4345, allocations: 4 kB / 0.7685 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.259e-06/0.4345, allocations: 0 / 0.7685 GB, free: 1.512 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 5.954e-05/0.4346, allocations: 116.3 kB / 0.7686 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.4346, allocations: 3.984 kB / 0.7686 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.566e-05/0.4347, allocations: 52.69 kB / 0.7686 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4347, allocations: 0 / 0.7686 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4347, allocations: 0 / 0.7686 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4347, allocations: 4 kB / 0.7686 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.887e-05/0.4348, allocations: 141.7 kB / 0.7688 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.4348, allocations: 4.062 kB / 0.7688 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.4349, allocations: 4 kB / 0.7688 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4349, allocations: 7.922 kB / 0.7688 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.4349, allocations: 11.94 kB / 0.7688 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4349, allocations: 0 / 0.7688 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.4349, allocations: 0 / 0.7688 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.779e-05/0.435, allocations: 65.94 kB / 0.7688 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.435, allocations: 93.11 kB / 0.7689 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.435, allocations: 3.938 kB / 0.7689 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.4351, allocations: 0 / 0.7689 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.4351, allocations: 0 / 0.7689 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.4351, allocations: 11.94 kB / 0.769 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.4351, allocations: 75.28 kB / 0.769 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4351, allocations: 0 / 0.769 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001851/0.4353, allocations: 0 / 0.769 GB, free: 0.8281 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 8.345e-05/0.4354, allocations: 99.34 kB / 0.7691 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.041e-05/0.4355, allocations: 19.92 kB / 0.7691 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4355, allocations: 0 / 0.7691 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.287e-06/0.4355, allocations: 4 kB / 0.7691 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.4357, allocations: 0 / 0.7691 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001757/0.4358, allocations: 90.17 kB / 0.7692 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.4361, allocations: 0.6806 MB / 0.7699 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.4361, allocations: 3.938 kB / 0.7699 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.4361, allocations: 7.438 kB / 0.7699 GB, free: 15.86 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.4361, allocations: 0 / 0.7699 GB, free: 15.86 MB / 0.545 GB Notification: Performance of Templates: time 0.001655/0.4378, allocations: 204.9 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)