Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 103.8 kB / 15.98 MB, free: 6.344 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.001145/0.001145, allocations: 196.8 kB / 16.91 MB, free: 6.188 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.243/1.243, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.642/0.642, allocations: 115.3 MB / 406.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 493.2 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2723, allocations: 76.16 MB / 0.556 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01124/0.2836, allocations: 13.1 MB / 0.5688 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.2855, allocations: 2.657 MB / 0.5714 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.2856, allocations: 1 kB / 0.5714 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002035/0.2858, allocations: 41.31 kB / 0.5714 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.286, allocations: 84.36 kB / 0.5715 GB, free: 25.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.2868, allocations: 465.8 kB / 0.572 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.287, allocations: 230.8 kB / 0.5722 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.2871, allocations: 13.52 kB / 0.5722 GB, free: 25.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00648/0.2936, allocations: 3.376 MB / 0.5755 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2937, allocations: 94.97 kB / 0.5756 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.2937, allocations: 11.84 kB / 0.5756 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001826/0.2955, allocations: 1.044 MB / 0.5766 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.2956, allocations: 39.27 kB / 0.5767 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.846e-05/0.2957, allocations: 82.86 kB / 0.5767 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000462/0.2961, allocations: 365.9 kB / 0.5771 GB, free: 23.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2962, allocations: 0 / 0.5771 GB, free: 23.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2962, allocations: 1.188 kB / 0.5771 GB, free: 23.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2962, allocations: 0 / 0.5771 GB, free: 23.08 MB / 446.1 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.0005337/0.2967, allocations: 0.5034 MB / 0.5776 GB, free: 22.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2967, allocations: 9.906 kB / 0.5776 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.169e-05/0.2968, allocations: 56.89 kB / 0.5776 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.2969, allocations: 22.95 kB / 0.5777 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.2971, allocations: 219.9 kB / 0.5779 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2971, allocations: 10.61 kB / 0.5779 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.2971, allocations: 14.97 kB / 0.5779 GB, free: 22.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.2975, allocations: 253.3 kB / 0.5781 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2975, allocations: 0.6562 kB / 0.5781 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2975, allocations: 6.812 kB / 0.5781 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.2975, allocations: 6.75 kB / 0.5782 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.298, allocations: 428.4 kB / 0.5786 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.2988, allocations: 0.9638 MB / 0.5795 GB, free: 21.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.299, allocations: 155.5 kB / 0.5797 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.825e-05/0.2991, allocations: 65.42 kB / 0.5797 GB, free: 21.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007989/0.2999, allocations: 1.831 MB / 0.5815 GB, free: 19.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.3, allocations: 37.62 kB / 0.5815 GB, free: 19.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.172e-06/0.3, allocations: 0 / 0.5815 GB, free: 19.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002724/0.3002, allocations: 147.2 kB / 0.5817 GB, free: 19.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.3003, allocations: 56.84 kB / 0.5817 GB, free: 18.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.3004, allocations: 170.5 kB / 0.5819 GB, free: 18.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3004, allocations: 35.02 kB / 0.5819 GB, free: 18.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.3005, allocations: 137.8 kB / 0.5821 GB, free: 18.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.3005, allocations: 55.81 kB / 0.5821 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.3006, allocations: 55.42 kB / 0.5822 GB, free: 18.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.702e-05/0.3006, allocations: 327.7 kB / 0.5825 GB, free: 18.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.3007, allocations: 35.92 kB / 0.5825 GB, free: 18.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.3007, allocations: 145.4 kB / 0.5827 GB, free: 18.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.3009, allocations: 195.7 kB / 0.5828 GB, free: 17.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3009, allocations: 1.562 kB / 0.5828 GB, free: 17.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002747/0.3012, allocations: 217.4 kB / 0.583 GB, free: 17.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.3012, allocations: 9 kB / 0.5831 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3012, allocations: 3.656 kB / 0.5831 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3013, allocations: 10.14 kB / 0.5831 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3014, allocations: 58.14 kB / 0.5831 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.3014, allocations: 7.984 kB / 0.5831 GB, free: 17.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.3015, allocations: 25.34 kB / 0.5832 GB, free: 17.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.3015, allocations: 9.969 kB / 0.5832 GB, free: 17.8 MB / 446.1 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 6.79e-05/0.3016, allocations: 139.9 kB / 0.5833 GB, free: 17.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.3017, allocations: 17.16 kB / 0.5833 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002515/0.3019, allocations: 161.4 kB / 0.5835 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3019, allocations: 6.719 kB / 0.5835 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.302, allocations: 4 kB / 0.5835 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.302, allocations: 0.75 kB / 0.5835 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.3021, allocations: 220.7 kB / 0.5837 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3021, allocations: 1.438 kB / 0.5837 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.99e-05/0.3022, allocations: 21.95 kB / 0.5837 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3022, allocations: 1.188 kB / 0.5837 GB, free: 17.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.3023, allocations: 5.953 kB / 0.5837 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3023, allocations: 5.312 kB / 0.5837 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.3023, allocations: 0.75 kB / 0.5837 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.3024, allocations: 224.2 kB / 0.5839 GB, free: 17.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.3025, allocations: 110.7 kB / 0.584 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.3025, allocations: 4 kB / 0.5841 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.3027, allocations: 15.58 kB / 0.5841 GB, free: 17.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.3028, allocations: 14.3 kB / 0.5841 GB, free: 17.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.3028, allocations: 8.047 kB / 0.5841 GB, free: 17.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.182e-05/0.3028, allocations: 129.5 kB / 0.5842 GB, free: 16.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3029, allocations: 4 kB / 0.5842 GB, free: 16.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003346/0.3032, allocations: 79.39 kB / 0.5843 GB, free: 16.94 MB / 446.1 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.0005151/0.3037, allocations: 0.8351 MB / 0.5851 GB, free: 16.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3039, allocations: 130.5 kB / 0.5852 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3039, allocations: 2.25 kB / 0.5852 GB, free: 16.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.774e-05/0.304, allocations: 44.61 kB / 0.5853 GB, free: 16.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.3044, allocations: 63.48 kB / 0.5853 GB, free: 16.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.3059, allocations: 2.08 MB / 0.5874 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.3061, allocations: 0.7113 MB / 0.5881 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001649/0.3062, allocations: 47.36 kB / 0.5881 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.3063, allocations: 45.78 kB / 0.5881 GB, free: 13.66 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3063, allocations: 0 / 0.5881 GB, free: 13.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.481/1.787, allocations: 5.347 MB / 0.5934 GB, free: 11.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/1.787, allocations: 208 kB / 0.5936 GB, free: 11.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.952/3.739, allocations: 0 / 0.5936 GB, free: 11.15 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)