Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.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.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") translateModel(BuildingSystems.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001367, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001431/0.001431, allocations: 196.8 kB / 16.14 MB, free: 6.723 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0026/0.0026, allocations: 283 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.118/1.118, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002792/0.002792, allocations: 98.69 kB / 0.6057 GB, free: 25.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1627, allocations: 89.16 MB / 0.6928 GB, free: 4.824 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.543/0.7058, allocations: 235.4 MB / 0.9227 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.7282, allocations: 15.92 MB / 0.9382 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.7302, allocations: 55.62 kB / 0.9383 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002525/0.7328, allocations: 0.8744 MB / 0.9391 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007215/0.74, allocations: 2.806 MB / 0.9419 GB, free: 12.87 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003985/0.744, allocations: 1.505 MB / 0.9433 GB, free: 11.38 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005737/0.7498, allocations: 4.658 MB / 0.9479 GB, free: 6.715 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.7515, allocations: 1.07 MB / 0.9489 GB, free: 5.613 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006085/0.7576, allocations: 2.266 MB / 0.9511 GB, free: 3.348 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.7604, allocations: 1.11 MB / 0.9522 GB, free: 2.242 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002074/0.7606, allocations: 64 kB / 0.9523 GB, free: 2.18 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006902/0.7676, allocations: 3.597 MB / 0.9558 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007165/0.7683, allocations: 438.3 kB / 0.9562 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.7695, allocations: 0.746 MB / 0.9569 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006174/0.7757, allocations: 3.1 MB / 0.96 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/0.7758, allocations: 4 kB / 0.96 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7758, allocations: 0 / 0.96 GB, free: 10.28 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.344e-05/0.7758, allocations: 0 / 0.96 GB, free: 10.28 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004151/0.78, allocations: 1.998 MB / 0.9619 GB, free: 8.227 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.78, allocations: 16.03 kB / 0.9619 GB, free: 8.211 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.7831, allocations: 0.4897 MB / 0.9624 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.7854, allocations: 1.123 MB / 0.9635 GB, free: 6.543 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009872/0.7864, allocations: 253.8 kB / 0.9638 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001444/0.7866, allocations: 96 kB / 0.9638 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002596/0.7892, allocations: 1.314 MB / 0.9651 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.443e-05/0.7892, allocations: 3.938 kB / 0.9651 GB, free: 4.793 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.7894, allocations: 47.98 kB / 0.9652 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.7894, allocations: 45.98 kB / 0.9652 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002745/0.7922, allocations: 1.073 MB / 0.9663 GB, free: 3.629 MB / 0.6856 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.009221/0.8014, allocations: 6.619 MB / 0.9727 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.8032, allocations: 0.5621 MB / 0.9733 GB, free: 12 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000686/0.8039, allocations: 273.1 kB / 0.9735 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004309/0.8044, allocations: 287.5 kB / 0.9738 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.8044, allocations: 42.84 kB / 0.9739 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.8044, allocations: 0 / 0.9739 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.002707/0.8071, allocations: 0.8596 MB / 0.9747 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.8072, allocations: 55.41 kB / 0.9747 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.8092, allocations: 1.354 MB / 0.9761 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.144e-05/0.8093, allocations: 37.7 kB / 0.9761 GB, free: 9 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.81, allocations: 0.6872 MB / 0.9768 GB, free: 8.309 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.8101, allocations: 134.2 kB / 0.9769 GB, free: 8.176 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.8104, allocations: 154 kB / 0.9771 GB, free: 8.02 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8106, allocations: 330 kB / 0.9774 GB, free: 7.691 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008947/0.8115, allocations: 307.2 kB / 0.9777 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.8127, allocations: 0.6301 MB / 0.9783 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.8146, allocations: 0.8557 MB / 0.9791 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8146, allocations: 0 / 0.9791 GB, free: 5.629 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002515/0.8171, allocations: 0.9995 MB / 0.9801 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.8171, allocations: 8 kB / 0.9801 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.8172, allocations: 12 kB / 0.9801 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.8172, allocations: 12.72 kB / 0.9801 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/0.8181, allocations: 199.7 kB / 0.9803 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.8181, allocations: 19.94 kB / 0.9803 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.8196, allocations: 206.8 kB / 0.9805 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.8197, allocations: 39.98 kB / 0.9806 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001445/0.8211, allocations: 0.5636 MB / 0.9811 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001297/0.8224, allocations: 0.6184 MB / 0.9817 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001833/0.8243, allocations: 0.8584 MB / 0.9826 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.068e-06/0.8243, allocations: 0 / 0.9826 GB, free: 1.812 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.002583/0.8269, allocations: 0.996 MB / 0.9835 GB, free: 0.8086 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8269, allocations: 15.94 kB / 0.9835 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8269, allocations: 8 kB / 0.9836 GB, free: 0.7852 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.8269, allocations: 12 kB / 0.9836 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/0.8278, allocations: 199.7 kB / 0.9838 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.8278, allocations: 15.94 kB / 0.9838 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/0.8292, allocations: 155.5 kB / 0.9839 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.082e-05/0.8292, allocations: 47.98 kB / 0.984 GB, free: 372 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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 0.0003055/0.8296, allocations: 228.7 kB / 0.9842 GB, free: 136 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.8298, allocations: 142.4 kB / 0.9843 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/0.8317, allocations: 0.6604 MB / 0.985 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8318, allocations: 11.94 kB / 0.985 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8318, allocations: 0 / 0.985 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.8318, allocations: 0 / 0.985 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/0.8357, allocations: 1.931 MB / 0.9869 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.8358, allocations: 4 kB / 0.9869 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.8363, allocations: 99.95 kB / 0.987 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.8363, allocations: 4 kB / 0.987 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/0.8364, allocations: 15.98 kB / 0.987 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.8364, allocations: 7.938 kB / 0.987 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8364, allocations: 4 kB / 0.987 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.8383, allocations: 0.8196 MB / 0.9878 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/0.8388, allocations: 299.1 kB / 0.9881 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.839, allocations: 12 kB / 0.9881 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.8402, allocations: 99.83 kB / 0.9882 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.506e-05/0.8403, allocations: 35.84 kB / 0.9882 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.183e-05/0.8404, allocations: 27.97 kB / 0.9882 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001717/0.8421, allocations: 0.9847 MB / 0.9892 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8421, allocations: 4 kB / 0.9892 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001834/0.844, allocations: 0.5655 MB / 0.9898 GB, free: 10.21 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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.0006516/0.8446, allocations: 271 kB / 0.99 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003151/0.8478, allocations: 1.077 MB / 0.9911 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8478, allocations: 3.938 kB / 0.9911 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007493/0.8486, allocations: 256.7 kB / 0.9913 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003715/0.8523, allocations: 0.7695 MB / 0.9921 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005429/0.8577, allocations: 2.675 MB / 0.9947 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.8589, allocations: 1.182 MB / 0.9958 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001633/0.8605, allocations: 367.5 kB / 0.9962 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.8608, allocations: 95.41 kB / 0.9963 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.8608, allocations: 0 / 0.9963 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of Templates: time 0.04271/0.9035, allocations: 24.12 MB / 1.02 GB, free: 11.63 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example4.pipe 2>&1)