Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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.00129/0.00129, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001407/0.001407, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.002502/0.002502, allocations: 286.2 kB / 313.5 MB, free: 2.609 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.207/1.207, allocations: 180.6 MB / 0.5377 GB, free: 14.6 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.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",fmuType="cs",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.00274/0.00274, allocations: 98.58 kB / 0.7403 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1651, allocations: 95.38 MB / 0.8334 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1517/0.3167, allocations: 119.5 MB / 0.9501 GB, free: 304 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02815/0.3449, allocations: 20.23 MB / 0.9699 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.345, allocations: 0 / 0.9699 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.3453, allocations: 39.7 kB / 0.9699 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.3456, allocations: 103.3 kB / 0.97 GB, free: 11.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01752/0.3631, allocations: 6.933 MB / 0.9768 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004844/0.3636, allocations: 251.9 kB / 0.977 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.837e-05/0.3637, allocations: 13.73 kB / 0.9771 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.3641, allocations: 147.4 kB / 0.9772 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.3642, allocations: 91.66 kB / 0.9773 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.3643, allocations: 12 kB / 0.9773 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4099/0.7742, allocations: 11.53 MB / 0.9886 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.7743, allocations: 36.89 kB / 0.9886 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.7744, allocations: 79.34 kB / 0.9887 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01908/0.7935, allocations: 6.479 MB / 0.995 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.7935, allocations: 0.5625 kB / 0.995 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7935, allocations: 0.5312 kB / 0.995 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.7935, allocations: 0.5 kB / 0.995 GB, free: 9.105 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.007157/0.8007, allocations: 1.164 MB / 0.9961 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.8007, allocations: 10.16 kB / 0.9961 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.334e-05/0.8008, allocations: 5.531 kB / 0.9961 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.682e-05/0.8008, allocations: 56 kB / 0.9962 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00116/0.802, allocations: 84.66 kB / 0.9963 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.8022, allocations: 175.5 kB / 0.9964 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.005e-05/0.8022, allocations: 15.31 kB / 0.9965 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.8023, allocations: 16.53 kB / 0.9965 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.8036, allocations: 0.665 MB / 0.9971 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.8036, allocations: 0.5 kB / 0.9971 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.8036, allocations: 9.656 kB / 0.9971 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.8036, allocations: 6.5 kB / 0.9971 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.8048, allocations: 0.6235 MB / 0.9978 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008507/0.8057, allocations: 0.7333 MB / 0.9985 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/0.8065, allocations: 237.4 kB / 0.9987 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.8066, allocations: 63.88 kB / 0.9988 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07673/0.8833, allocations: 23.36 MB / 1.022 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.8833, allocations: 36.59 kB / 1.022 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.723e-06/0.8833, allocations: 0 / 1.022 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001685/0.885, allocations: 425.5 kB / 1.022 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.8851, allocations: 58.59 kB / 1.022 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.8851, allocations: 136.3 kB / 1.022 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.8852, allocations: 32.7 kB / 1.022 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.8852, allocations: 112.8 kB / 1.022 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.162e-05/0.8853, allocations: 87.45 kB / 1.022 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.8854, allocations: 79.16 kB / 1.022 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.283e-05/0.8854, allocations: 334.1 kB / 1.023 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.8856, allocations: 80.98 kB / 1.023 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.8858, allocations: 132 kB / 1.023 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/0.8861, allocations: 217.3 kB / 1.023 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8861, allocations: 0 / 1.023 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006808/0.8868, allocations: 310.2 kB / 1.024 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.8868, allocations: 5.031 kB / 1.024 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.8868, allocations: 2.75 kB / 1.024 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8869, allocations: 2.719 kB / 1.024 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.8872, allocations: 82.42 kB / 1.024 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.8872, allocations: 4.672 kB / 1.024 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.8873, allocations: 22.5 kB / 1.024 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.8874, allocations: 26.91 kB / 1.024 GB, free: 4.824 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 30 * Array equations: 0 * 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.000245/0.8876, allocations: 127 kB / 1.024 GB, free: 20.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.8878, allocations: 19.17 kB / 1.024 GB, free: 20.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001773/0.8896, allocations: 2.485 MB / 1.026 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.8896, allocations: 9.797 kB / 1.026 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8896, allocations: 3.422 kB / 1.026 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.8896, allocations: 7.406 kB / 1.026 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.892, allocations: 3.582 MB / 1.03 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.892, allocations: 5.047 kB / 1.03 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.8922, allocations: 53.8 kB / 1.03 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.8923, allocations: 3.953 kB / 1.03 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.8923, allocations: 14.62 kB / 1.03 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.8923, allocations: 0 / 1.03 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.8923, allocations: 2.438 kB / 1.03 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.8929, allocations: 0.5604 MB / 1.03 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.562e-05/0.893, allocations: 62.44 kB / 1.03 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.893, allocations: 9.156 kB / 1.03 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.8933, allocations: 12.66 kB / 1.03 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.8933, allocations: 22.19 kB / 1.03 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.8933, allocations: 13.53 kB / 1.03 GB, free: 19.87 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.8934, allocations: 106.2 kB / 1.031 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8934, allocations: 4 kB / 1.031 GB, free: 19.79 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006176/0.8996, allocations: 1.716 MB / 1.032 GB, free: 19.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0127/0.9123, allocations: 2.959 MB / 1.035 GB, free: 18.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006605/0.9129, allocations: 313.5 kB / 1.035 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.9129, allocations: 1.469 kB / 1.035 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002465/0.9132, allocations: 195.8 kB / 1.036 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.9137, allocations: 70.25 kB / 1.036 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008426/0.9222, allocations: 3.108 MB / 1.039 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.9223, allocations: 156.3 kB / 1.039 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00044/0.9227, allocations: 410 kB / 1.039 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.9229, allocations: 97.69 kB / 1.039 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of SimCode: time 1.212e-06/0.9229, allocations: 4 kB / 1.039 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/1.036, allocations: 64.04 MB / 1.102 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/15.86, allocations: 9.594 kB / 1.102 GB, free: 5.367 MB / 0.7794 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.236141704954207] Failed to read output from testmodel.py, exit status != 0: 16.064437282038853 16.0795849 15.282781064 Calling exit ...