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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002525/0.002525, allocations: 284.8 kB / 303 MB, free: 9.496 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.21/1.21, allocations: 180.9 MB / 0.5261 GB, free: 14.67 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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: Performance of FrontEnd - loaded program: time 0.003696/0.003696, allocations: 102.2 kB / 0.7248 GB, free: 39.92 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.184, allocations: 94.16 MB / 0.8168 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006703/0.1907, allocations: 4.74 MB / 0.8214 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003196/0.1939, allocations: 2.714 MB / 0.824 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.194, allocations: 0 / 0.824 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1943, allocations: 51.67 kB / 0.8241 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.1946, allocations: 87.44 kB / 0.8242 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.196, allocations: 0.5117 MB / 0.8247 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.1963, allocations: 239.9 kB / 0.8249 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.1963, allocations: 9.562 kB / 0.8249 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.1966, allocations: 115.5 kB / 0.825 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1967, allocations: 91.66 kB / 0.8251 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.1967, allocations: 8 kB / 0.8251 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007766/0.1975, allocations: 379.3 kB / 0.8255 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.1976, allocations: 39.83 kB / 0.8255 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.1977, allocations: 79.66 kB / 0.8256 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006722/0.1984, allocations: 371 kB / 0.8259 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1984, allocations: 0 / 0.8259 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.103e-06/0.1984, allocations: 0 / 0.8259 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.1984, allocations: 0 / 0.8259 GB, free: 11.92 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.0009583/0.1994, allocations: 0.5025 MB / 0.8264 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1994, allocations: 8.031 kB / 0.8264 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.905e-05/0.1995, allocations: 54.73 kB / 0.8265 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.1997, allocations: 32.77 kB / 0.8265 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.2, allocations: 204.2 kB / 0.8267 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2, allocations: 16.64 kB / 0.8267 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.2, allocations: 12.38 kB / 0.8267 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.2005, allocations: 255.9 kB / 0.827 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.2005, allocations: 4 kB / 0.827 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.2005, allocations: 8 kB / 0.827 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.2005, allocations: 4 kB / 0.827 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.201, allocations: 427.5 kB / 0.8274 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2023, allocations: 0.9528 MB / 0.8283 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003095/0.2026, allocations: 154.7 kB / 0.8285 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2027, allocations: 52.88 kB / 0.8285 GB, free: 9.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001718/0.2044, allocations: 1.829 MB / 0.8303 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.2044, allocations: 34.56 kB / 0.8304 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.2044, allocations: 0 / 0.8304 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003673/0.2048, allocations: 153.4 kB / 0.8305 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.2049, allocations: 55.41 kB / 0.8306 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.205, allocations: 169.8 kB / 0.8307 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.2051, allocations: 33.7 kB / 0.8308 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.07e-05/0.2052, allocations: 140.2 kB / 0.8309 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/0.2052, allocations: 51.48 kB / 0.8309 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.758e-05/0.2053, allocations: 57.69 kB / 0.831 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2054, allocations: 322.8 kB / 0.8313 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.2055, allocations: 39.97 kB / 0.8313 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.2057, allocations: 143.2 kB / 0.8315 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.206, allocations: 208.7 kB / 0.8317 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.206, allocations: 0 / 0.8317 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003611/0.2063, allocations: 213.4 kB / 0.8319 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.2064, allocations: 7.938 kB / 0.8319 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2064, allocations: 4 kB / 0.8319 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.2064, allocations: 11.94 kB / 0.8319 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.2066, allocations: 51.91 kB / 0.8319 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.2066, allocations: 4 kB / 0.832 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2067, allocations: 27.78 kB / 0.832 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.2067, allocations: 16 kB / 0.832 GB, free: 4.973 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.0001299/0.2069, allocations: 134 kB / 0.8321 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.2069, allocations: 19.89 kB / 0.8321 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003383/0.2073, allocations: 166.9 kB / 0.8323 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.2073, allocations: 3.938 kB / 0.8323 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.2073, allocations: 0 / 0.8323 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2073, allocations: 0 / 0.8323 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.2076, allocations: 217.6 kB / 0.8325 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2076, allocations: 0 / 0.8325 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.144e-05/0.2077, allocations: 23.98 kB / 0.8325 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2077, allocations: 11.94 kB / 0.8325 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.2077, allocations: 0 / 0.8325 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2077, allocations: 3.938 kB / 0.8325 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2077, allocations: 0 / 0.8325 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.208, allocations: 226.3 kB / 0.8328 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.2081, allocations: 109 kB / 0.8329 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.2081, allocations: 7.938 kB / 0.8329 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.2083, allocations: 19.92 kB / 0.8329 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.2083, allocations: 15.98 kB / 0.8329 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.2084, allocations: 4 kB / 0.8329 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001058/0.2085, allocations: 123.2 kB / 0.833 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2085, allocations: 0 / 0.833 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004184/0.2089, allocations: 83.8 kB / 0.8331 GB, free: 3.734 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.0008428/0.2097, allocations: 0.8321 MB / 0.8339 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.21, allocations: 112.5 kB / 0.834 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.21, allocations: 0 / 0.834 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.019e-05/0.2101, allocations: 46.58 kB / 0.8341 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.2105, allocations: 50.09 kB / 0.8341 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/0.2129, allocations: 2.049 MB / 0.8361 GB, free: 464 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.2133, allocations: 0.7168 MB / 0.8368 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.2134, allocations: 49.8 kB / 0.8369 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.5e-05/0.2135, allocations: 43.42 kB / 0.8369 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.2135, allocations: 3.938 kB / 0.8369 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.2434, allocations: 5.305 MB / 0.8421 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.333, allocations: 6.641 kB / 0.8421 GB, free: 10.42 MB / 0.5919 GB " [Timeout remaining time 652] (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: 12.483542426023632] Failed to read output from testmodel.py, exit status != 0: 8.409009323921055 8.434284908 8.231200698 Calling exit ...