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.001648/0.001648, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002018/0.002018, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.457/1.457, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002566/0.002566, allocations: 282.6 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.098/1.098, allocations: 178.5 MB / 0.5072 GB, free: 4.586 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 99.2 kB / 0.6064 GB, free: 24.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1657, allocations: 89.15 MB / 0.6935 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.Example4): time 0.5989/0.7647, allocations: 237.5 MB / 0.9254 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02503/0.7897, allocations: 15.79 MB / 0.9409 GB, free: 14.05 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/0.7926, allocations: 63.56 kB / 0.9409 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.7962, allocations: 1.033 MB / 0.9419 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008953/0.8053, allocations: 2.976 MB / 0.9448 GB, free: 9.965 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.8099, allocations: 1.677 MB / 0.9465 GB, free: 8.301 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005339/0.8153, allocations: 3.43 MB / 0.9498 GB, free: 4.863 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002474/0.8178, allocations: 1.279 MB / 0.9511 GB, free: 3.555 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00685/0.8247, allocations: 2.491 MB / 0.9535 GB, free: 1.07 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.8273, allocations: 1.083 MB / 0.9546 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004932/0.8278, allocations: 116 kB / 0.9547 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006899/0.8347, allocations: 3.098 MB / 0.9577 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009156/0.8357, allocations: 470.5 kB / 0.9582 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002033/0.8377, allocations: 0.8085 MB / 0.9589 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007181/0.8449, allocations: 2.941 MB / 0.9618 GB, free: 8.555 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.845, allocations: 3.938 kB / 0.9618 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.423e-06/0.845, allocations: 4 kB / 0.9618 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.608e-05/0.8451, allocations: 0 / 0.9618 GB, free: 8.547 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.005016/0.8501, allocations: 1.996 MB / 0.9638 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.8502, allocations: 12.03 kB / 0.9638 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002994/0.8532, allocations: 0.4975 MB / 0.9643 GB, free: 5.988 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.8558, allocations: 1.117 MB / 0.9654 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001019/0.8568, allocations: 245.8 kB / 0.9656 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.857, allocations: 96 kB / 0.9657 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002902/0.8599, allocations: 1.373 MB / 0.967 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/0.86, allocations: 4 kB / 0.967 GB, free: 2.98 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.8601, allocations: 43.94 kB / 0.9671 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.278e-05/0.8602, allocations: 45.98 kB / 0.9671 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002827/0.863, allocations: 1.085 MB / 0.9682 GB, free: 1.809 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.009973/0.873, allocations: 7.434 MB / 0.9754 GB, free: 9.898 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001871/0.8749, allocations: 0.5621 MB / 0.976 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007287/0.8757, allocations: 269.2 kB / 0.9762 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004622/0.8761, allocations: 291.5 kB / 0.9765 GB, free: 8.723 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.8762, allocations: 34.84 kB / 0.9766 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=33): time 2.185e-06/0.8762, allocations: 0 / 0.9766 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of matching and sorting (n=33): time 0.003071/0.8793, allocations: 0.8673 MB / 0.9774 GB, free: 7.805 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.8794, allocations: 51.41 kB / 0.9774 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.8824, allocations: 1.395 MB / 0.9788 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.8825, allocations: 37.7 kB / 0.9788 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/0.8833, allocations: 0.7065 MB / 0.9795 GB, free: 5.582 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.8835, allocations: 122.3 kB / 0.9797 GB, free: 5.461 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/0.8839, allocations: 166.3 kB / 0.9798 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.8841, allocations: 334 kB / 0.9801 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.8851, allocations: 328.6 kB / 0.9804 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001411/0.8865, allocations: 0.697 MB / 0.9811 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.8888, allocations: 0.9577 MB / 0.9821 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.379e-05/0.8888, allocations: 4 kB / 0.9821 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003154/0.892, allocations: 1.082 MB / 0.9831 GB, free: 1.551 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.8921, allocations: 10.34 kB / 0.9831 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/0.8921, allocations: 16 kB / 0.9831 GB, free: 1.527 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-05/0.8921, allocations: 16 kB / 0.9832 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009084/0.8931, allocations: 211.6 kB / 0.9834 GB, free: 1.305 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-05/0.8931, allocations: 23.92 kB / 0.9834 GB, free: 1.281 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.8947, allocations: 197.9 kB / 0.9836 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.8949, allocations: 43.92 kB / 0.9836 GB, free: 1.047 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001516/0.8964, allocations: 0.5799 MB / 0.9842 GB, free: 472 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00147/0.8979, allocations: 0.7047 MB / 0.9849 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002154/0.9, allocations: 0.949 MB / 0.9858 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.14e-05/0.9001, allocations: 4 kB / 0.9858 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003117/0.9032, allocations: 1.069 MB / 0.9868 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.9032, allocations: 15.88 kB / 0.9869 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/0.9033, allocations: 12 kB / 0.9869 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.9033, allocations: 16.75 kB / 0.9869 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/0.9042, allocations: 211.7 kB / 0.9871 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/0.9042, allocations: 23.94 kB / 0.9871 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.9058, allocations: 143.5 kB / 0.9873 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.9059, allocations: 44 kB / 0.9873 GB, free: 12.93 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * 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.0003658/0.9063, allocations: 237.1 kB / 0.9875 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/0.9067, allocations: 150.1 kB / 0.9877 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/0.9088, allocations: 0.6527 MB / 0.9883 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.9088, allocations: 8 kB / 0.9883 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9088, allocations: 0 / 0.9883 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.9088, allocations: 3.984 kB / 0.9883 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004452/0.9133, allocations: 1.917 MB / 0.9902 GB, free: 9.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.9133, allocations: 7.984 kB / 0.9902 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.9139, allocations: 104 kB / 0.9903 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.9139, allocations: 4 kB / 0.9903 GB, free: 9.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.9139, allocations: 15.94 kB / 0.9903 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.9139, allocations: 4 kB / 0.9903 GB, free: 9.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.066e-06/0.9139, allocations: 11.92 kB / 0.9903 GB, free: 9.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.9159, allocations: 0.8195 MB / 0.9911 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006632/0.9166, allocations: 291.1 kB / 0.9914 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.9169, allocations: 12 kB / 0.9914 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.9181, allocations: 75.92 kB / 0.9915 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.9182, allocations: 39.78 kB / 0.9915 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.683e-05/0.9182, allocations: 23.97 kB / 0.9915 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001842/0.9201, allocations: 1.013 MB / 0.9925 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.9201, allocations: 4 kB / 0.9925 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002088/0.9222, allocations: 0.5695 MB / 0.9931 GB, free: 6.773 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.0006633/0.9229, allocations: 272 kB / 0.9934 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003329/0.9262, allocations: 1.164 MB / 0.9945 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.9262, allocations: 4 kB / 0.9945 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.927, allocations: 268.1 kB / 0.9948 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00374/0.9308, allocations: 0.7518 MB / 0.9955 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.9362, allocations: 2.293 MB / 0.9977 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.9373, allocations: 1.182 MB / 0.9989 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001722/0.939, allocations: 383.8 kB / 0.9992 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.9393, allocations: 91.42 kB / 0.9993 GB, free: 292 kB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.9393, allocations: 8 kB / 0.9993 GB, free: 284 kB / 0.7169 GB Notification: Performance of Templates: time 0.04888/0.9882, allocations: 25.05 MB / 1.024 GB, free: 7.586 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)