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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 79.81 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002151/0.002151, allocations: 166.9 kB / 22.46 MB, free: 5.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.677/1.677, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002514/0.002514, allocations: 241.8 kB / 259.4 MB, free: 468 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.129/1.129, allocations: 138.4 MB / 454.3 MB, free: 1.988 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 0.6468 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.679e-05, allocations: 5.797 kB / 0.6468 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.3034/0.3034, allocations: 11.95 MB / 0.6585 GB, free: 51.23 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3053, allocations: 2.417 MB / 0.6609 GB, free: 49.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.3054, allocations: 3.281 kB / 0.6609 GB, free: 49.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.3057, allocations: 39.39 kB / 0.6609 GB, free: 49.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.3059, allocations: 105.3 kB / 0.661 GB, free: 49.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009608/0.3068, allocations: 0.5451 MB / 0.6616 GB, free: 49.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.307, allocations: 240.5 kB / 0.6618 GB, free: 49.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.3071, allocations: 10.78 kB / 0.6618 GB, free: 49.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007096/0.3142, allocations: 3.635 MB / 0.6653 GB, free: 48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3143, allocations: 78.69 kB / 0.6654 GB, free: 47.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.3143, allocations: 7.969 kB / 0.6654 GB, free: 47.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.3163, allocations: 1.048 MB / 0.6664 GB, free: 47.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.3164, allocations: 34.2 kB / 0.6665 GB, free: 47.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.3165, allocations: 67.66 kB / 0.6665 GB, free: 47.55 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.3169, allocations: 381.4 kB / 0.6669 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.317, allocations: 0 / 0.6669 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.317, allocations: 0 / 0.6669 GB, free: 47.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.317, allocations: 0 / 0.6669 GB, free: 47.43 MB / 0.5606 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.0006212/0.3176, allocations: 454.4 kB / 0.6673 GB, free: 47.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.3176, allocations: 9.969 kB / 0.6673 GB, free: 47.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000157/0.3178, allocations: 22.8 kB / 0.6674 GB, free: 47.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.318, allocations: 157 kB / 0.6675 GB, free: 46.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.318, allocations: 11.39 kB / 0.6675 GB, free: 46.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.318, allocations: 20.06 kB / 0.6676 GB, free: 46.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.3184, allocations: 484.3 kB / 0.668 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3184, allocations: 192 / 0.668 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.3184, allocations: 8.031 kB / 0.668 GB, free: 46.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.3184, allocations: 14.06 kB / 0.668 GB, free: 46.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.3189, allocations: 421 kB / 0.6684 GB, free: 46.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008632/0.3197, allocations: 0.7836 MB / 0.6692 GB, free: 45.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.32, allocations: 155.2 kB / 0.6693 GB, free: 45.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.149e-05/0.3201, allocations: 55.62 kB / 0.6694 GB, free: 45.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.3207, allocations: 467.2 kB / 0.6698 GB, free: 45.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3207, allocations: 40.38 kB / 0.6699 GB, free: 45.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.3207, allocations: 0 / 0.6699 GB, free: 45.29 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0002945/0.321, allocations: 145.3 kB / 0.67 GB, free: 45.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.321, allocations: 52.06 kB / 0.6701 GB, free: 45.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.3211, allocations: 162.4 kB / 0.6702 GB, free: 45.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3212, allocations: 29.64 kB / 0.6703 GB, free: 45 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.3212, allocations: 143.5 kB / 0.6704 GB, free: 44.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.3212, allocations: 52.73 kB / 0.6704 GB, free: 44.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.3213, allocations: 58.86 kB / 0.6705 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.3213, allocations: 329.3 kB / 0.6708 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.098e-05/0.3214, allocations: 40.73 kB / 0.6709 GB, free: 44.45 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.142e-05/0.3215, allocations: 143.1 kB / 0.671 GB, free: 44.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3217, allocations: 193.2 kB / 0.6712 GB, free: 44.14 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3217, allocations: 0 / 0.6712 GB, free: 44.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002782/0.3219, allocations: 222.4 kB / 0.6714 GB, free: 44.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3219, allocations: 5.281 kB / 0.6714 GB, free: 44.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.322, allocations: 5.281 kB / 0.6714 GB, free: 44.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.322, allocations: 5.281 kB / 0.6714 GB, free: 44.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.3221, allocations: 60.83 kB / 0.6715 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3221, allocations: 4.219 kB / 0.6715 GB, free: 44.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.3222, allocations: 30.34 kB / 0.6715 GB, free: 44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.3223, allocations: 12.83 kB / 0.6715 GB, free: 44 MB / 0.5606 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 7.647e-05/0.3223, allocations: 142 kB / 0.6716 GB, free: 43.87 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.734e-05/0.3224, allocations: 11.39 kB / 0.6717 GB, free: 43.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.3227, allocations: 157.7 kB / 0.6718 GB, free: 43.79 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.3227, allocations: 2.719 kB / 0.6718 GB, free: 43.79 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3227, allocations: 0 / 0.6718 GB, free: 43.79 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.3227, allocations: 5.109 kB / 0.6718 GB, free: 43.79 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.3228, allocations: 156.9 kB / 0.672 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3228, allocations: 0 / 0.672 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.323, allocations: 32.52 kB / 0.672 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.323, allocations: 0 / 0.672 GB, free: 43.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.323, allocations: 8.031 kB / 0.672 GB, free: 43.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.323, allocations: 0 / 0.672 GB, free: 43.63 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.323, allocations: 0 / 0.672 GB, free: 43.63 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.3232, allocations: 226 kB / 0.6722 GB, free: 43.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.286e-05/0.3232, allocations: 35.98 kB / 0.6722 GB, free: 43.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.3233, allocations: 4.562 kB / 0.6723 GB, free: 43.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.3235, allocations: 11.36 kB / 0.6723 GB, free: 43.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.3235, allocations: 13.91 kB / 0.6723 GB, free: 43.44 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.3235, allocations: 10.84 kB / 0.6723 GB, free: 43.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.132e-05/0.3236, allocations: 116.6 kB / 0.6724 GB, free: 43.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.3236, allocations: 4 kB / 0.6724 GB, free: 43.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003538/0.3239, allocations: 81.58 kB / 0.6725 GB, free: 43.33 MB / 0.5606 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.0002708/0.3242, allocations: 194.1 kB / 0.6727 GB, free: 43.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.3244, allocations: 107.2 kB / 0.6728 GB, free: 43.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.3244, allocations: 2.625 kB / 0.6728 GB, free: 43.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.056e-05/0.3244, allocations: 40.62 kB / 0.6728 GB, free: 43.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3248, allocations: 42.41 kB / 0.6728 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.3253, allocations: 302.4 kB / 0.6731 GB, free: 42.97 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.137e-05/0.3254, allocations: 108.8 kB / 0.6732 GB, free: 42.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001316/0.3255, allocations: 46.12 kB / 0.6733 GB, free: 42.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.3256, allocations: 31.55 kB / 0.6733 GB, free: 42.87 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.3256, allocations: 0 / 0.6733 GB, free: 42.87 MB / 0.5606 GB Notification: Performance of Templates: time 0.006997/0.3326, allocations: 3.368 MB / 0.6766 GB, free: 42.37 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.339637719094753] Failed to read output from testmodel.py, exit status != 0: 0.34063924476504326 0.35209202900000003 0.032297879 Calling exit ...