Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007204/0.007204, allocations: 102.6 kB / 15.73 MB, free: 6.039 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.001673/0.001673, allocations: 190.7 kB / 16.67 MB, free: 5.953 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002082/0.002082, allocations: 292.2 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9617/0.9617, allocations: 169.2 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 100.2 kB / 0.6815 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3885, allocations: 86.98 MB / 0.7664 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.005221/0.3938, allocations: 4.713 MB / 0.771 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002575/0.3964, allocations: 2.695 MB / 0.7737 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.863e-05/0.3965, allocations: 0 / 0.7737 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.3967, allocations: 47.67 kB / 0.7737 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.397, allocations: 103.3 kB / 0.7738 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.398, allocations: 0.4895 MB / 0.7743 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.3983, allocations: 243.8 kB / 0.7745 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.3983, allocations: 13.56 kB / 0.7745 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.3985, allocations: 123.5 kB / 0.7746 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.3986, allocations: 87.66 kB / 0.7747 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.3987, allocations: 8 kB / 0.7747 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.3993, allocations: 363.3 kB / 0.7751 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.278e-05/0.3994, allocations: 39.89 kB / 0.7751 GB, free: 11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.3994, allocations: 79.64 kB / 0.7752 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005229/0.4, allocations: 357.3 kB / 0.7755 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4, allocations: 0 / 0.7755 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4, allocations: 4 kB / 0.7755 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.4, allocations: 4 kB / 0.7755 GB, free: 10.57 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006662/0.4007, allocations: 0.4992 MB / 0.776 GB, free: 10.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.4007, allocations: 16.02 kB / 0.776 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001611/0.4009, allocations: 20.75 kB / 0.7761 GB, free: 9.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.4011, allocations: 212 kB / 0.7763 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.4012, allocations: 16.7 kB / 0.7763 GB, free: 9.719 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.4012, allocations: 12.38 kB / 0.7763 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.4015, allocations: 260.1 kB / 0.7765 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4016, allocations: 0 / 0.7765 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.4016, allocations: 8 kB / 0.7765 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.316e-05/0.4016, allocations: 4 kB / 0.7766 GB, free: 9.422 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004462/0.4021, allocations: 427.5 kB / 0.777 GB, free: 9.004 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4031, allocations: 0.9527 MB / 0.7779 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/0.4034, allocations: 157 kB / 0.778 GB, free: 7.797 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.794e-05/0.4035, allocations: 68.88 kB / 0.7781 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/0.4047, allocations: 1.829 MB / 0.7799 GB, free: 5.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.4048, allocations: 38.55 kB / 0.7799 GB, free: 5.492 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.4048, allocations: 0 / 0.7799 GB, free: 5.492 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003088/0.4051, allocations: 144.7 kB / 0.7801 GB, free: 5.348 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.4051, allocations: 59.34 kB / 0.7801 GB, free: 5.277 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4053, allocations: 175 kB / 0.7803 GB, free: 5.098 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4053, allocations: 29.7 kB / 0.7803 GB, free: 5.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.4054, allocations: 139.8 kB / 0.7805 GB, free: 4.922 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.955e-05/0.4054, allocations: 59.19 kB / 0.7805 GB, free: 4.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.4055, allocations: 53.61 kB / 0.7806 GB, free: 4.805 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.4056, allocations: 322.8 kB / 0.7809 GB, free: 4.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.4057, allocations: 43.98 kB / 0.7809 GB, free: 4.438 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.4058, allocations: 138.1 kB / 0.781 GB, free: 4.254 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.406, allocations: 193.5 kB / 0.7812 GB, free: 4.016 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.406, allocations: 4 kB / 0.7812 GB, free: 4.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000304/0.4063, allocations: 213.1 kB / 0.7814 GB, free: 3.797 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.4064, allocations: 8 kB / 0.7814 GB, free: 3.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4064, allocations: 7.984 kB / 0.7814 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4064, allocations: 8.406 kB / 0.7815 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4066, allocations: 63.8 kB / 0.7815 GB, free: 3.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.4066, allocations: 8 kB / 0.7815 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4067, allocations: 27.69 kB / 0.7816 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.4067, allocations: 8 kB / 0.7816 GB, free: 3.668 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001049/0.4068, allocations: 137.8 kB / 0.7817 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.4069, allocations: 15.81 kB / 0.7817 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.4072, allocations: 154.3 kB / 0.7819 GB, free: 3.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.4072, allocations: 7.938 kB / 0.7819 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.4072, allocations: 4 kB / 0.7819 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4072, allocations: 3.984 kB / 0.7819 GB, free: 3.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.4074, allocations: 217.5 kB / 0.7821 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4075, allocations: 0 / 0.7821 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.4075, allocations: 23.98 kB / 0.7821 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4076, allocations: 0 / 0.7821 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.4076, allocations: 8 kB / 0.7821 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.4076, allocations: 3.938 kB / 0.7821 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4076, allocations: 4 kB / 0.7821 GB, free: 3.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.4078, allocations: 227.2 kB / 0.7823 GB, free: 2.801 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.728e-05/0.4079, allocations: 108.9 kB / 0.7824 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.408, allocations: 0 / 0.7824 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.4082, allocations: 19.92 kB / 0.7825 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.4082, allocations: 7.984 kB / 0.7825 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.4082, allocations: 15.98 kB / 0.7825 GB, free: 2.633 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.679e-05/0.4083, allocations: 120 kB / 0.7826 GB, free: 2.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4083, allocations: 0 / 0.7826 GB, free: 2.516 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003876/0.4087, allocations: 75.91 kB / 0.7827 GB, free: 2.441 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002799/0.409, allocations: 179 kB / 0.7828 GB, free: 2.254 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.4092, allocations: 124.1 kB / 0.783 GB, free: 2.133 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4092, allocations: 0 / 0.783 GB, free: 2.133 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.4093, allocations: 43.92 kB / 0.783 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.4097, allocations: 56.5 kB / 0.783 GB, free: 2.035 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.4104, allocations: 338.9 kB / 0.7834 GB, free: 1.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.4106, allocations: 0.7206 MB / 0.7841 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001429/0.4108, allocations: 45.75 kB / 0.7841 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.807e-05/0.4108, allocations: 23.44 kB / 0.7841 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.4108, allocations: 0 / 0.7841 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of Templates: time 0.006587/0.4174, allocations: 3.444 MB / 0.7875 GB, free: 13.46 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1)