Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 143.4 MB / 159.2 MB, free: 4.926 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 191.1 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 222.9 MB / 447.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 115.1 kB / 0.517 GB, free: 3.68 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002003/0.002003, allocations: 285.2 kB / 0.5973 GB, free: 49.34 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 76.27 kB / 0.6885 GB, free: 3.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3717, allocations: 81.3 MB / 0.7679 GB, free: 27.62 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01291/0.3847, allocations: 13.86 MB / 0.7815 GB, free: 13.72 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.3867, allocations: 2.699 MB / 0.7841 GB, free: 11.01 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.828e-05/0.3868, allocations: 4 kB / 0.7841 GB, free: 11.01 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.3871, allocations: 39.73 kB / 0.7841 GB, free: 10.97 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002196/0.3873, allocations: 91.48 kB / 0.7842 GB, free: 10.88 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009901/0.3883, allocations: 461 kB / 0.7847 GB, free: 10.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002038/0.3885, allocations: 307.8 kB / 0.785 GB, free: 10.13 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.3886, allocations: 9.562 kB / 0.785 GB, free: 10.12 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006822/0.3954, allocations: 3.155 MB / 0.788 GB, free: 6.945 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001883/0.3957, allocations: 103.6 kB / 0.7881 GB, free: 6.844 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.674e-05/0.3957, allocations: 4 kB / 0.7882 GB, free: 6.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.398, allocations: 0.9681 MB / 0.7891 GB, free: 5.875 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.3981, allocations: 35.89 kB / 0.7891 GB, free: 5.84 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.3982, allocations: 79.64 kB / 0.7892 GB, free: 5.762 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006739/0.3988, allocations: 375 kB / 0.7896 GB, free: 5.395 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.3988, allocations: 0 / 0.7896 GB, free: 5.395 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3989, allocations: 0 / 0.7896 GB, free: 5.395 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.3989, allocations: 0 / 0.7896 GB, free: 5.395 MB / 458.7 MB 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.0006449/0.3995, allocations: 0.4992 MB / 0.7901 GB, free: 4.848 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3996, allocations: 8.031 kB / 0.7901 GB, free: 4.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.3997, allocations: 28.75 kB / 0.7901 GB, free: 4.812 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.3999, allocations: 220.1 kB / 0.7903 GB, free: 4.559 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3999, allocations: 12.7 kB / 0.7903 GB, free: 4.547 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.4, allocations: 16.38 kB / 0.7903 GB, free: 4.531 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/0.4003, allocations: 252.1 kB / 0.7906 GB, free: 4.266 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4003, allocations: 0 / 0.7906 GB, free: 4.266 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.4003, allocations: 8 kB / 0.7906 GB, free: 4.258 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.4003, allocations: 12 kB / 0.7906 GB, free: 4.246 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003729/0.4007, allocations: 423.5 kB / 0.791 GB, free: 3.832 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008664/0.4016, allocations: 0.9566 MB / 0.7919 GB, free: 2.785 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.4018, allocations: 165.1 kB / 0.7921 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.4019, allocations: 60.88 kB / 0.7921 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009049/0.4028, allocations: 1.833 MB / 0.7939 GB, free: 372 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.4029, allocations: 34.56 kB / 0.794 GB, free: 328 kB / 458.7 MB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.4029, allocations: 0 / 0.794 GB, free: 328 kB / 458.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003054/0.4032, allocations: 153.3 kB / 0.7941 GB, free: 168 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.4032, allocations: 59.34 kB / 0.7942 GB, free: 96 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.4034, allocations: 166.4 kB / 0.7943 GB, free: 15.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.4034, allocations: 29.7 kB / 0.7944 GB, free: 15.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.4035, allocations: 139.8 kB / 0.7945 GB, free: 15.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.4036, allocations: 55.2 kB / 0.7945 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/0.4037, allocations: 57.59 kB / 0.7946 GB, free: 15.63 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4038, allocations: 330.8 kB / 0.7949 GB, free: 15.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.4039, allocations: 31.98 kB / 0.7949 GB, free: 15.27 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.404, allocations: 140.1 kB / 0.7951 GB, free: 15.08 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.4043, allocations: 207.5 kB / 0.7953 GB, free: 14.83 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4043, allocations: 0 / 0.7953 GB, free: 14.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003306/0.4046, allocations: 209.5 kB / 0.7955 GB, free: 14.62 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4047, allocations: 4 kB / 0.7955 GB, free: 14.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.4047, allocations: 4 kB / 0.7955 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.4047, allocations: 11.94 kB / 0.7955 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001838/0.4049, allocations: 55.84 kB / 0.7955 GB, free: 14.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4049, allocations: 7.938 kB / 0.7955 GB, free: 14.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.405, allocations: 27.69 kB / 0.7956 GB, free: 14.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.4051, allocations: 20 kB / 0.7956 GB, free: 14.49 MB / 474.7 MB 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.0001184/0.4052, allocations: 138.7 kB / 0.7957 GB, free: 14.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.4053, allocations: 19.81 kB / 0.7957 GB, free: 14.33 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002972/0.4056, allocations: 153.4 kB / 0.7959 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/0.4056, allocations: 7.938 kB / 0.7959 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4056, allocations: 3.938 kB / 0.7959 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4056, allocations: 0 / 0.7959 GB, free: 14.17 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.4059, allocations: 213.5 kB / 0.7961 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4059, allocations: 0 / 0.7961 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.406, allocations: 27.98 kB / 0.7961 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.406, allocations: 4 kB / 0.7961 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.406, allocations: 0 / 0.7961 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.406, allocations: 7.938 kB / 0.7961 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.406, allocations: 0 / 0.7961 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006058/0.4066, allocations: 0.8057 MB / 0.7969 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-05/0.4067, allocations: 116.9 kB / 0.797 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.4068, allocations: 4 kB / 0.797 GB, free: 12.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.407, allocations: 15.98 kB / 0.7971 GB, free: 12.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.407, allocations: 7.984 kB / 0.7971 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.407, allocations: 12 kB / 0.7971 GB, free: 12.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.4071, allocations: 128.9 kB / 0.7972 GB, free: 12.71 MB / 474.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4071, allocations: 0 / 0.7972 GB, free: 12.71 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000498/0.4077, allocations: 79.94 kB / 0.7973 GB, free: 12.63 MB / 474.7 MB 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.00041/0.4081, allocations: 195.1 kB / 0.7975 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.4083, allocations: 122 kB / 0.7976 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4083, allocations: 0 / 0.7976 GB, free: 12.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 6.232e-05/0.4084, allocations: 47.92 kB / 0.7976 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.4088, allocations: 56.33 kB / 0.7977 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.4097, allocations: 0.5304 MB / 0.7982 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.41, allocations: 0.7209 MB / 0.7989 GB, free: 10.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.4101, allocations: 48.86 kB / 0.799 GB, free: 10.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.4102, allocations: 23.44 kB / 0.799 GB, free: 10.82 MB / 474.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4102, allocations: 0 / 0.799 GB, free: 10.82 MB / 474.7 MB Notification: Performance of Templates: time 0.006619/0.4168, allocations: 3.587 MB / 0.8025 GB, free: 7.277 MB / 474.7 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)