Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001367/0.001367, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00161/0.00161, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002659/0.002659, allocations: 279.6 kB / 312.7 MB, free: 2.801 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.242/1.242, allocations: 180.6 MB / 0.5369 GB, free: 13 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002903/0.002903, allocations: 107.3 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2016, allocations: 95.38 MB / 0.8328 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.009972/0.2116, allocations: 4.837 MB / 0.8375 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004744/0.2163, allocations: 2.737 MB / 0.8402 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.2165, allocations: 0 / 0.8402 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.2169, allocations: 51.67 kB / 0.8402 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004827/0.2174, allocations: 95.38 kB / 0.8403 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.2193, allocations: 0.5207 MB / 0.8408 GB, free: 300 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.2199, allocations: 235.9 kB / 0.841 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.748e-05/0.2199, allocations: 21.72 kB / 0.8411 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003683/0.2203, allocations: 115.6 kB / 0.8412 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002583/0.2206, allocations: 91.59 kB / 0.8413 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.2206, allocations: 8 kB / 0.8413 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.2218, allocations: 395.3 kB / 0.8416 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.2219, allocations: 35.83 kB / 0.8417 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.2221, allocations: 87.64 kB / 0.8418 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.2232, allocations: 367.1 kB / 0.8421 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2232, allocations: 3.938 kB / 0.8421 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2232, allocations: 4 kB / 0.8421 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.2232, allocations: 0 / 0.8421 GB, free: 14.96 MB / 0.5919 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.001332/0.2246, allocations: 444 kB / 0.8425 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001077/0.2247, allocations: 13.34 kB / 0.8425 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.941e-05/0.2248, allocations: 50.73 kB / 0.8426 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002562/0.225, allocations: 24.84 kB / 0.8426 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004164/0.2254, allocations: 162.2 kB / 0.8428 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.2255, allocations: 16.7 kB / 0.8428 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.2255, allocations: 16.38 kB / 0.8428 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.2261, allocations: 260.6 kB / 0.8431 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2261, allocations: 0 / 0.8431 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.2261, allocations: 8 kB / 0.8431 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.2262, allocations: 4 kB / 0.8431 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007926/0.2269, allocations: 451.3 kB / 0.8435 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00176/0.2287, allocations: 0.9168 MB / 0.8444 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.2292, allocations: 161.1 kB / 0.8445 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.2293, allocations: 56.88 kB / 0.8446 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.2304, allocations: 467.8 kB / 0.845 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.2305, allocations: 38.56 kB / 0.8451 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 2.504e-06/0.2305, allocations: 4 kB / 0.8451 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0005104/0.231, allocations: 151.9 kB / 0.8452 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.2311, allocations: 55.41 kB / 0.8453 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.2313, allocations: 171.9 kB / 0.8454 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.2313, allocations: 33.7 kB / 0.8455 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.2315, allocations: 148 kB / 0.8456 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.2316, allocations: 47.59 kB / 0.8457 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.2317, allocations: 53.66 kB / 0.8457 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000285/0.2319, allocations: 330.8 kB / 0.846 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.2321, allocations: 39.97 kB / 0.8461 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.2323, allocations: 131.5 kB / 0.8462 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.2326, allocations: 211.4 kB / 0.8464 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.2326, allocations: 0 / 0.8464 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004825/0.2331, allocations: 205.3 kB / 0.8466 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2331, allocations: 4 kB / 0.8466 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.2331, allocations: 4.469 kB / 0.8466 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.2332, allocations: 15.94 kB / 0.8466 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.2334, allocations: 55.91 kB / 0.8467 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.2334, allocations: 7.938 kB / 0.8467 GB, free: 9.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2336, allocations: 31.73 kB / 0.8467 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.2336, allocations: 12 kB / 0.8467 GB, free: 9.879 MB / 0.5919 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.0001619/0.2338, allocations: 137.7 kB / 0.8469 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.2339, allocations: 11.95 kB / 0.8469 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.2343, allocations: 158.9 kB / 0.847 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.2343, allocations: 7.938 kB / 0.847 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2343, allocations: 4 kB / 0.847 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2343, allocations: 0 / 0.847 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003679/0.2347, allocations: 188.6 kB / 0.8472 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2347, allocations: 0 / 0.8472 GB, free: 9.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.2348, allocations: 20 kB / 0.8472 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.2348, allocations: 0 / 0.8472 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2349, allocations: 7.984 kB / 0.8472 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.2349, allocations: 11.94 kB / 0.8472 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2349, allocations: 0 / 0.8472 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004075/0.2353, allocations: 230.3 kB / 0.8475 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.2354, allocations: 27.88 kB / 0.8475 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.2354, allocations: 7.984 kB / 0.8475 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002911/0.2357, allocations: 19.92 kB / 0.8475 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.414e-05/0.2357, allocations: 15.91 kB / 0.8475 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.964e-05/0.2358, allocations: 8 kB / 0.8475 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002236/0.236, allocations: 120 kB / 0.8477 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.236, allocations: 4 kB / 0.8477 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006299/0.2366, allocations: 79.86 kB / 0.8477 GB, free: 8.77 MB / 0.5919 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.0009963/0.2376, allocations: 0.8292 MB / 0.8485 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.2379, allocations: 115.8 kB / 0.8487 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2379, allocations: 0 / 0.8487 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.897e-05/0.238, allocations: 51.52 kB / 0.8487 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006309/0.2387, allocations: 49.94 kB / 0.8488 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.2421, allocations: 2.044 MB / 0.8507 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.2425, allocations: 0.7128 MB / 0.8514 GB, free: 4.754 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.2427, allocations: 49.77 kB / 0.8515 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.989e-05/0.2428, allocations: 43.42 kB / 0.8515 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.2428, allocations: 3.938 kB / 0.8515 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04335/0.2862, allocations: 5.578 MB / 0.857 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.39, allocations: 5.016 kB / 0.857 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_WaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.578380002873018] Failed to read output from testmodel.py, exit status != 0: 11.49250035197474 11.509598998 11.282940758 Calling exit ...