Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.00175/0.00175, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.002215/0.002215, allocations: 215.7 kB / 23.04 MB, free: 5.078 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8768/0.8768, allocations: 134 MB / 447.2 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002457/0.002457, allocations: 70.42 kB / 0.6194 GB, free: 7.297 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1708, allocations: 85.91 MB / 0.7033 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01797/0.1888, allocations: 13.2 MB / 0.7162 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003334/0.1921, allocations: 2.691 MB / 0.7188 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1922, allocations: 0 / 0.7188 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.1925, allocations: 47.67 kB / 0.7188 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.1928, allocations: 91.42 kB / 0.7189 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.1941, allocations: 0.5338 MB / 0.7195 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.1944, allocations: 231.9 kB / 0.7197 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.1945, allocations: 9.75 kB / 0.7197 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008908/0.2034, allocations: 3.596 MB / 0.7232 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.2036, allocations: 95.59 kB / 0.7233 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.2036, allocations: 8 kB / 0.7233 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003126/0.2068, allocations: 1.119 MB / 0.7244 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.2069, allocations: 39.83 kB / 0.7244 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.207, allocations: 79.66 kB / 0.7245 GB, free: 11.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009356/0.2079, allocations: 378.8 kB / 0.7249 GB, free: 11.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2079, allocations: 0 / 0.7249 GB, free: 11.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2079, allocations: 0 / 0.7249 GB, free: 11.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.2079, allocations: 4 kB / 0.7249 GB, free: 11.27 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.0009101/0.2088, allocations: 449.4 kB / 0.7253 GB, free: 10.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.2089, allocations: 8.031 kB / 0.7253 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.041e-05/0.2089, allocations: 8.453 kB / 0.7253 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.753e-05/0.209, allocations: 50.73 kB / 0.7254 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.2091, allocations: 24.83 kB / 0.7254 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.2095, allocations: 158.3 kB / 0.7255 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.2095, allocations: 16.7 kB / 0.7255 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.2096, allocations: 28.11 kB / 0.7256 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004629/0.21, allocations: 240.2 kB / 0.7258 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.2101, allocations: 3.938 kB / 0.7258 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.2101, allocations: 12 kB / 0.7258 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.024e-05/0.2101, allocations: 8 kB / 0.7258 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.2107, allocations: 440.1 kB / 0.7262 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.2121, allocations: 0.9363 MB / 0.7272 GB, free: 8.758 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.2124, allocations: 145.2 kB / 0.7273 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.2125, allocations: 68.75 kB / 0.7274 GB, free: 8.539 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008677/0.2134, allocations: 479.8 kB / 0.7278 GB, free: 8.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.2134, allocations: 34.56 kB / 0.7279 GB, free: 8.008 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.2134, allocations: 0 / 0.7279 GB, free: 8.008 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0004228/0.2138, allocations: 153.4 kB / 0.728 GB, free: 7.852 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.2139, allocations: 55.34 kB / 0.7281 GB, free: 7.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.2141, allocations: 167.2 kB / 0.7282 GB, free: 7.609 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.2141, allocations: 29.7 kB / 0.7282 GB, free: 7.574 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.2143, allocations: 148 kB / 0.7284 GB, free: 7.422 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.2143, allocations: 51.58 kB / 0.7284 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.2144, allocations: 53.7 kB / 0.7285 GB, free: 7.312 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.2146, allocations: 326.8 kB / 0.7288 GB, free: 6.984 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.2147, allocations: 35.97 kB / 0.7288 GB, free: 6.949 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.2148, allocations: 137.7 kB / 0.729 GB, free: 6.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.2151, allocations: 203.9 kB / 0.7292 GB, free: 6.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.2151, allocations: 4 kB / 0.7292 GB, free: 6.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003672/0.2155, allocations: 205.2 kB / 0.7294 GB, free: 6.309 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.2155, allocations: 8.469 kB / 0.7294 GB, free: 6.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2155, allocations: 8 kB / 0.7294 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.2156, allocations: 7.938 kB / 0.7294 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.2158, allocations: 51.91 kB / 0.7294 GB, free: 6.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.2158, allocations: 11.94 kB / 0.7294 GB, free: 6.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.2159, allocations: 27.78 kB / 0.7295 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.2159, allocations: 16 kB / 0.7295 GB, free: 6.18 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.0001569/0.2161, allocations: 133.7 kB / 0.7296 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.469e-05/0.2161, allocations: 15.91 kB / 0.7296 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003679/0.2165, allocations: 165.4 kB / 0.7298 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.2165, allocations: 7.938 kB / 0.7298 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2165, allocations: 0 / 0.7298 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2165, allocations: 0 / 0.7298 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.2168, allocations: 184.7 kB / 0.73 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2168, allocations: 0 / 0.73 GB, free: 5.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.271e-05/0.2169, allocations: 31.88 kB / 0.73 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2169, allocations: 0 / 0.73 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.962e-05/0.2169, allocations: 11.92 kB / 0.73 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.2169, allocations: 0 / 0.73 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/0.217, allocations: 4 kB / 0.73 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.2173, allocations: 223.2 kB / 0.7302 GB, free: 5.355 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.343e-05/0.2173, allocations: 43.8 kB / 0.7303 GB, free: 5.312 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.2174, allocations: 3.938 kB / 0.7303 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.2176, allocations: 19.92 kB / 0.7303 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.998e-05/0.2176, allocations: 7.984 kB / 0.7303 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.2176, allocations: 15.98 kB / 0.7303 GB, free: 5.266 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001137/0.2177, allocations: 124.9 kB / 0.7304 GB, free: 5.145 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2177, allocations: 0 / 0.7304 GB, free: 5.145 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004235/0.2182, allocations: 79.88 kB / 0.7305 GB, free: 5.066 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.0008689/0.219, allocations: 0.8385 MB / 0.7313 GB, free: 4.203 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.2193, allocations: 115.8 kB / 0.7314 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.2193, allocations: 0.9375 kB / 0.7314 GB, free: 4.09 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.2194, allocations: 39.86 kB / 0.7315 GB, free: 4.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.2198, allocations: 55.94 kB / 0.7315 GB, free: 3.996 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.2226, allocations: 2.037 MB / 0.7335 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.223, allocations: 0.7206 MB / 0.7342 GB, free: 1.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001688/0.2232, allocations: 53.78 kB / 0.7343 GB, free: 1.004 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.191e-05/0.2233, allocations: 47.42 kB / 0.7343 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.2233, allocations: 4 kB / 0.7343 GB, free: 0.957 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.2526, allocations: 5.805 MB / 0.74 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.44, allocations: 2.406 kB / 0.74 GB, free: 11.34 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.522455862956122] Failed to read output from testmodel.py, exit status != 0: 11.60226316889748 11.91367826 11.701992651 Calling exit ...