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.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.001867/0.001867, allocations: 105 kB / 20.48 MB, free: 1.488 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.002489/0.002489, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.474/1.474, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.9624/0.9624, allocations: 150 MB / 464 MB, free: 10.52 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",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.002056/0.002056, allocations: 57.97 kB / 0.6421 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2079, allocations: 89.18 MB / 0.7292 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01742/0.2253, allocations: 13.19 MB / 0.7421 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003141/0.2285, allocations: 2.699 MB / 0.7447 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.2285, allocations: 0 / 0.7447 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.2288, allocations: 43.69 kB / 0.7447 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.2291, allocations: 103.3 kB / 0.7448 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.2304, allocations: 0.5157 MB / 0.7453 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.2307, allocations: 232 kB / 0.7456 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/0.2308, allocations: 9.75 kB / 0.7456 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008293/0.2391, allocations: 3.596 MB / 0.7491 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002208/0.2393, allocations: 91.66 kB / 0.7492 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.2393, allocations: 8 kB / 0.7492 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00274/0.2421, allocations: 1.128 MB / 0.7503 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.2421, allocations: 39.89 kB / 0.7503 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.2422, allocations: 87.58 kB / 0.7504 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.243, allocations: 370.8 kB / 0.7507 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.243, allocations: 7.938 kB / 0.7508 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.734e-06/0.243, allocations: 0 / 0.7508 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.243, allocations: 0 / 0.7508 GB, free: 11.08 MB / 0.5762 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.000855/0.2439, allocations: 445.4 kB / 0.7512 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.2439, allocations: 8.031 kB / 0.7512 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.714e-05/0.2439, allocations: 4.516 kB / 0.7512 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.759e-05/0.244, allocations: 54.73 kB / 0.7512 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.2442, allocations: 28.83 kB / 0.7513 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.2445, allocations: 154.3 kB / 0.7514 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2445, allocations: 20.58 kB / 0.7514 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.2445, allocations: 16.12 kB / 0.7515 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004238/0.245, allocations: 256.1 kB / 0.7517 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.245, allocations: 0 / 0.7517 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.245, allocations: 8 kB / 0.7517 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.746e-05/0.245, allocations: 8 kB / 0.7517 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.2456, allocations: 447.5 kB / 0.7521 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.2468, allocations: 0.9363 MB / 0.7531 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.2471, allocations: 154.8 kB / 0.7532 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.2472, allocations: 52.88 kB / 0.7533 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007804/0.248, allocations: 471.8 kB / 0.7537 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.248, allocations: 38.56 kB / 0.7537 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.248, allocations: 0 / 0.7537 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003685/0.2484, allocations: 153.4 kB / 0.7539 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.2484, allocations: 51.41 kB / 0.7539 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.2486, allocations: 175.2 kB / 0.7541 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.2486, allocations: 33.7 kB / 0.7541 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.2487, allocations: 136.1 kB / 0.7543 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.2488, allocations: 55.59 kB / 0.7543 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.2488, allocations: 53.64 kB / 0.7544 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.249, allocations: 330.8 kB / 0.7547 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.2491, allocations: 35.98 kB / 0.7547 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001622/0.2492, allocations: 137.7 kB / 0.7548 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.2495, allocations: 204.4 kB / 0.755 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2495, allocations: 0 / 0.755 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003494/0.2499, allocations: 213.6 kB / 0.7552 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2499, allocations: 10.66 kB / 0.7553 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2499, allocations: 7.938 kB / 0.7553 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.2499, allocations: 7.938 kB / 0.7553 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.2501, allocations: 55.91 kB / 0.7553 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.2501, allocations: 4 kB / 0.7553 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001169/0.2502, allocations: 31.78 kB / 0.7554 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.2502, allocations: 8 kB / 0.7554 GB, free: 5.996 MB / 0.5762 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.0001263/0.2504, allocations: 141.1 kB / 0.7555 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.2504, allocations: 23.89 kB / 0.7555 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003424/0.2508, allocations: 165 kB / 0.7557 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.2508, allocations: 4 kB / 0.7557 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.2508, allocations: 0 / 0.7557 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2508, allocations: 0 / 0.7557 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.251, allocations: 188.6 kB / 0.7559 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.251, allocations: 0 / 0.7559 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.2511, allocations: 23.98 kB / 0.7559 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2511, allocations: 3.938 kB / 0.7559 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.2511, allocations: 11.94 kB / 0.7559 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2511, allocations: 4 kB / 0.7559 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2511, allocations: 0 / 0.7559 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.2514, allocations: 219.3 kB / 0.7561 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.2515, allocations: 39.8 kB / 0.7562 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.2515, allocations: 7.938 kB / 0.7562 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.2517, allocations: 11.98 kB / 0.7562 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.2517, allocations: 11.98 kB / 0.7562 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.2518, allocations: 15.98 kB / 0.7562 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.568e-05/0.2519, allocations: 116 kB / 0.7563 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2519, allocations: 0 / 0.7563 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004034/0.2523, allocations: 75.88 kB / 0.7564 GB, free: 4.898 MB / 0.5762 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.0009085/0.2532, allocations: 0.8476 MB / 0.7572 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.2534, allocations: 112.6 kB / 0.7573 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2534, allocations: 4.062 kB / 0.7573 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.264e-05/0.2535, allocations: 43.92 kB / 0.7574 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004593/0.254, allocations: 57.94 kB / 0.7574 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.2563, allocations: 2.047 MB / 0.7594 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.2567, allocations: 0.7167 MB / 0.7601 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001584/0.2568, allocations: 49.08 kB / 0.7602 GB, free: 0.8164 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.925e-05/0.2569, allocations: 47.42 kB / 0.7602 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.2569, allocations: 0 / 0.7602 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3904/0.6473, allocations: 5.799 MB / 0.7659 GB, free: 35.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.53, allocations: 7.984 kB / 0.7659 GB, free: 35.66 MB / 0.5762 GB " [Timeout remaining time 647] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.480976688035298] Failed to read output from testmodel.py, exit status != 0: 12.696732004988007 12.726513126 12.477722985 Calling exit ...