Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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.00188/0.00188, allocations: 104.3 kB / 19.7 MB, free: 1.918 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.002299/0.002299, allocations: 216.5 kB / 23 MB, free: 4.977 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.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9845/0.9845, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002153/0.002153, allocations: 69.33 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2083, allocations: 89.17 MB / 0.7282 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.00661/0.2149, allocations: 4.497 MB / 0.7326 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003196/0.2181, allocations: 2.461 MB / 0.735 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.705e-05/0.2182, allocations: 0 / 0.735 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.2184, allocations: 47.62 kB / 0.735 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002755/0.2187, allocations: 95.36 kB / 0.7351 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.22, allocations: 0.5251 MB / 0.7356 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002767/0.2203, allocations: 227.9 kB / 0.7359 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.527e-05/0.2203, allocations: 9.75 kB / 0.7359 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.2205, allocations: 127.6 kB / 0.736 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001469/0.2207, allocations: 87.59 kB / 0.7361 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.2207, allocations: 8 kB / 0.7361 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006398/0.2213, allocations: 315.4 kB / 0.7364 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.2214, allocations: 43.83 kB / 0.7364 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.313e-05/0.2215, allocations: 71.72 kB / 0.7365 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.222, allocations: 363.1 kB / 0.7368 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2221, allocations: 0 / 0.7368 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2221, allocations: 0 / 0.7368 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.2221, allocations: 0 / 0.7368 GB, free: 8.098 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.0008072/0.2229, allocations: 437.5 kB / 0.7372 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2229, allocations: 12.03 kB / 0.7373 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.051e-05/0.223, allocations: 50.73 kB / 0.7373 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.2231, allocations: 28.78 kB / 0.7373 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002983/0.2234, allocations: 158.2 kB / 0.7375 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.2234, allocations: 20.7 kB / 0.7375 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.2235, allocations: 12.38 kB / 0.7375 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.224, allocations: 487.4 kB / 0.738 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.224, allocations: 4 kB / 0.738 GB, free: 6.773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.2241, allocations: 11.97 kB / 0.738 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/0.2241, allocations: 8 kB / 0.738 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005402/0.2246, allocations: 419.5 kB / 0.7384 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.2258, allocations: 0.8047 MB / 0.7392 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.2262, allocations: 155.4 kB / 0.7393 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.2263, allocations: 56.88 kB / 0.7394 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000778/0.2271, allocations: 447.8 kB / 0.7398 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.2271, allocations: 38.55 kB / 0.7399 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.2271, allocations: 4 kB / 0.7399 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003461/0.2274, allocations: 145.4 kB / 0.74 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2275, allocations: 55.41 kB / 0.7401 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2277, allocations: 176.1 kB / 0.7402 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.2277, allocations: 37.7 kB / 0.7403 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.2278, allocations: 144 kB / 0.7404 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.669e-05/0.2278, allocations: 55.53 kB / 0.7404 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.2279, allocations: 53.64 kB / 0.7405 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2281, allocations: 330.8 kB / 0.7408 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.2281, allocations: 35.98 kB / 0.7408 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.2283, allocations: 137.7 kB / 0.741 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.2285, allocations: 204.6 kB / 0.7412 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2286, allocations: 0 / 0.7412 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000366/0.2289, allocations: 217.2 kB / 0.7414 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.2289, allocations: 6.188 kB / 0.7414 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2289, allocations: 4 kB / 0.7414 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.229, allocations: 8.406 kB / 0.7414 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.2292, allocations: 63.92 kB / 0.7415 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.2292, allocations: 11.92 kB / 0.7415 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.2293, allocations: 27.78 kB / 0.7415 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.2293, allocations: 16 kB / 0.7415 GB, free: 2.902 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 0.0001215/0.2294, allocations: 125.8 kB / 0.7416 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.2295, allocations: 15.91 kB / 0.7416 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.2298, allocations: 155 kB / 0.7418 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.2298, allocations: 3.938 kB / 0.7418 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2298, allocations: 3.938 kB / 0.7418 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.2298, allocations: 8 kB / 0.7418 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.2301, allocations: 180.6 kB / 0.742 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2301, allocations: 3.938 kB / 0.742 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.2302, allocations: 31.98 kB / 0.742 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2302, allocations: 3.984 kB / 0.742 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2302, allocations: 0 / 0.742 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.2302, allocations: 11.94 kB / 0.742 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2302, allocations: 0 / 0.742 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002778/0.2305, allocations: 222.3 kB / 0.7422 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.2306, allocations: 35.84 kB / 0.7423 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.2306, allocations: 0 / 0.7423 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2308, allocations: 23.92 kB / 0.7423 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.2308, allocations: 11.97 kB / 0.7423 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.2309, allocations: 12 kB / 0.7423 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001047/0.231, allocations: 123.9 kB / 0.7424 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.231, allocations: 0 / 0.7424 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004046/0.2314, allocations: 79.81 kB / 0.7425 GB, free: 1.797 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.0007922/0.2322, allocations: 0.8333 MB / 0.7433 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.2324, allocations: 111.7 kB / 0.7434 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.2324, allocations: 4 kB / 0.7434 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/0.2325, allocations: 36.92 kB / 0.7435 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.233, allocations: 55.83 kB / 0.7435 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.2354, allocations: 2.043 MB / 0.7455 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.2355, allocations: 111.2 kB / 0.7456 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001713/0.2357, allocations: 49.78 kB / 0.7457 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.2357, allocations: 43.42 kB / 0.7457 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.2357, allocations: 0 / 0.7457 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.271, allocations: 6.097 MB / 0.7517 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.88, allocations: 6.781 kB / 0.7517 GB, free: 8.422 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.152309664990753] Failed to read output from testmodel.py, exit status != 0: 11.994756222236902 12.401976792 12.17706555 Calling exit ...