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.001167/0.001167, allocations: 106.5 kB / 16.27 MB, free: 5.93 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.001366/0.001366, allocations: 189.7 kB / 17.2 MB, free: 5.574 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7396/0.7396, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.89 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3026, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01272/0.3154, allocations: 12.96 MB / 0.5799 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.3177, allocations: 2.669 MB / 0.5825 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3178, allocations: 0.9688 kB / 0.5825 GB, free: 21.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.318, allocations: 46.12 kB / 0.5826 GB, free: 21.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002163/0.3183, allocations: 96.55 kB / 0.5827 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008905/0.3192, allocations: 0.4967 MB / 0.5832 GB, free: 21.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3194, allocations: 241.7 kB / 0.5834 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.3194, allocations: 8.938 kB / 0.5834 GB, free: 21.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00756/0.327, allocations: 3.571 MB / 0.5869 GB, free: 19.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3271, allocations: 100.9 kB / 0.587 GB, free: 19.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3271, allocations: 8.688 kB / 0.587 GB, free: 19.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002058/0.3292, allocations: 1.069 MB / 0.588 GB, free: 18.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.3293, allocations: 34.73 kB / 0.5881 GB, free: 18.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.106e-05/0.3293, allocations: 83.53 kB / 0.5882 GB, free: 18.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004974/0.3299, allocations: 359.1 kB / 0.5885 GB, free: 18.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3299, allocations: 7.984 kB / 0.5885 GB, free: 18.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3299, allocations: 0 / 0.5885 GB, free: 18.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.3299, allocations: 1.406 kB / 0.5885 GB, free: 18.18 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.0006035/0.3305, allocations: 0.4974 MB / 0.589 GB, free: 17.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3305, allocations: 13.84 kB / 0.589 GB, free: 17.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.069e-05/0.3306, allocations: 49.67 kB / 0.5891 GB, free: 17.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.3307, allocations: 21.72 kB / 0.5891 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.3309, allocations: 220.9 kB / 0.5893 GB, free: 17.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3309, allocations: 10.7 kB / 0.5893 GB, free: 17.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.331, allocations: 18.84 kB / 0.5893 GB, free: 17.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.3313, allocations: 257.5 kB / 0.5896 GB, free: 17.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3313, allocations: 1.281 kB / 0.5896 GB, free: 17.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.3313, allocations: 10.53 kB / 0.5896 GB, free: 17.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/0.3313, allocations: 5.031 kB / 0.5896 GB, free: 17.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.3318, allocations: 429.3 kB / 0.59 GB, free: 17.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008783/0.3327, allocations: 0.9659 MB / 0.5909 GB, free: 16.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.3329, allocations: 158.5 kB / 0.5911 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.84e-05/0.333, allocations: 58.61 kB / 0.5911 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008393/0.3339, allocations: 1.839 MB / 0.5929 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.3339, allocations: 40.95 kB / 0.593 GB, free: 13.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.3339, allocations: 0 / 0.593 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002943/0.3342, allocations: 143.2 kB / 0.5931 GB, free: 13.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.3342, allocations: 53.84 kB / 0.5932 GB, free: 13.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.3343, allocations: 175 kB / 0.5933 GB, free: 13.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3344, allocations: 34.98 kB / 0.5934 GB, free: 13.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.541e-05/0.3344, allocations: 144.2 kB / 0.5935 GB, free: 13.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.3344, allocations: 45.11 kB / 0.5935 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.664e-05/0.3345, allocations: 65.5 kB / 0.5936 GB, free: 13.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.3346, allocations: 322.6 kB / 0.5939 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.3346, allocations: 37.36 kB / 0.5939 GB, free: 12.92 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.532e-05/0.3347, allocations: 148.9 kB / 0.5941 GB, free: 12.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.3349, allocations: 194.1 kB / 0.5943 GB, free: 12.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3349, allocations: 1.094 kB / 0.5943 GB, free: 12.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002953/0.3352, allocations: 223.7 kB / 0.5945 GB, free: 12.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3352, allocations: 10.73 kB / 0.5945 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3353, allocations: 3.031 kB / 0.5945 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3353, allocations: 9.125 kB / 0.5945 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3354, allocations: 49.36 kB / 0.5946 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3355, allocations: 5.688 kB / 0.5946 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3356, allocations: 27.53 kB / 0.5946 GB, free: 12.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.3356, allocations: 18.55 kB / 0.5946 GB, free: 12.41 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 7.631e-05/0.3357, allocations: 132.4 kB / 0.5947 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.3357, allocations: 11.72 kB / 0.5947 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000278/0.336, allocations: 157 kB / 0.5949 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.336, allocations: 6.375 kB / 0.5949 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.336, allocations: 0 / 0.5949 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3361, allocations: 9.109 kB / 0.5949 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.3362, allocations: 213.6 kB / 0.5951 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3362, allocations: 0 / 0.5951 GB, free: 11.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.697e-05/0.3363, allocations: 26.83 kB / 0.5951 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.3363, allocations: 1.438 kB / 0.5951 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.3364, allocations: 2.375 kB / 0.5951 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3364, allocations: 7.875 kB / 0.5951 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3364, allocations: 1.312 kB / 0.5951 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.3366, allocations: 226.6 kB / 0.5954 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.3367, allocations: 114.1 kB / 0.5955 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.3367, allocations: 9.188 kB / 0.5955 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.3369, allocations: 20.48 kB / 0.5955 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.464e-05/0.3369, allocations: 7.609 kB / 0.5955 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.337, allocations: 15.52 kB / 0.5955 GB, free: 11.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.283e-05/0.337, allocations: 116.3 kB / 0.5956 GB, free: 11.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.337, allocations: 1.438 kB / 0.5956 GB, free: 11.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003717/0.3374, allocations: 73.28 kB / 0.5957 GB, free: 11.49 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.0005146/0.3379, allocations: 0.8444 MB / 0.5965 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.3382, allocations: 124.9 kB / 0.5966 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3382, allocations: 1.188 kB / 0.5966 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.22e-05/0.3382, allocations: 44.3 kB / 0.5967 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3387, allocations: 60.84 kB / 0.5967 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.3403, allocations: 2.025 MB / 0.5987 GB, free: 8.855 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3405, allocations: 0.7165 MB / 0.5994 GB, free: 8.137 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001845/0.3406, allocations: 53.81 kB / 0.5995 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.3407, allocations: 45.14 kB / 0.5995 GB, free: 8.082 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3407, allocations: 0 / 0.5995 GB, free: 8.082 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08391/0.4246, allocations: 5.424 MB / 0.6048 GB, free: 3.488 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.051/9.476, allocations: 0 / 0.6048 GB, free: 3.488 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)