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.00127/0.00127, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001695/0.001695, allocations: 210.9 kB / 22.24 MB, free: 4.859 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.399/1.399, allocations: 230.6 MB / 256 MB, free: 8.012 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.002587/0.002587, allocations: 293.7 kB / 312.7 MB, free: 2.641 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.21/1.21, allocations: 180.6 MB / 0.5369 GB, free: 14.52 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamProperties",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.002856/0.002856, allocations: 98.39 kB / 0.7395 GB, free: 28.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1596, allocations: 95.37 MB / 0.8326 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1487/0.3083, allocations: 119.6 MB / 0.9495 GB, free: 244 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03073/0.339, allocations: 20.25 MB / 0.9692 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.3392, allocations: 0 / 0.9692 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.3396, allocations: 39.69 kB / 0.9693 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.34, allocations: 99.36 kB / 0.9694 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01786/0.3579, allocations: 6.929 MB / 0.9761 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004191/0.3583, allocations: 251.9 kB / 0.9764 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.087e-05/0.3584, allocations: 21.72 kB / 0.9764 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003478/0.3587, allocations: 147.4 kB / 0.9765 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.3589, allocations: 83.66 kB / 0.9766 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.3589, allocations: 8 kB / 0.9766 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4201/0.779, allocations: 11.1 MB / 0.9875 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.7791, allocations: 34.53 kB / 0.9875 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.7793, allocations: 77.41 kB / 0.9876 GB, free: 9.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.7971, allocations: 6.484 MB / 0.9939 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7971, allocations: 1.031 kB / 0.9939 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7971, allocations: 0 / 0.9939 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.7971, allocations: 1.562 kB / 0.9939 GB, free: 8.891 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.005341/0.8025, allocations: 1.166 MB / 0.995 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8025, allocations: 11.75 kB / 0.995 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.198e-05/0.8026, allocations: 51.47 kB / 0.9951 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.8037, allocations: 82.83 kB / 0.9952 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.804, allocations: 173.7 kB / 0.9953 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.804, allocations: 13.06 kB / 0.9954 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.8041, allocations: 18.41 kB / 0.9954 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.8053, allocations: 0.6759 MB / 0.996 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.8053, allocations: 1.312 kB / 0.996 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.8053, allocations: 5.906 kB / 0.996 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.8054, allocations: 5.922 kB / 0.996 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.8065, allocations: 0.6103 MB / 0.9966 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.8073, allocations: 0.7325 MB / 0.9974 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007409/0.8081, allocations: 239.8 kB / 0.9976 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.8082, allocations: 65.92 kB / 0.9976 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07989/0.8881, allocations: 23.37 MB / 1.02 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.8881, allocations: 35.72 kB / 1.021 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.8881, allocations: 0 / 1.021 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001564/0.8897, allocations: 425 kB / 1.021 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.8897, allocations: 62.31 kB / 1.021 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.8899, allocations: 136 kB / 1.021 GB, free: 21.29 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.89, allocations: 32.55 kB / 1.021 GB, free: 21.26 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.89, allocations: 113.7 kB / 1.021 GB, free: 21.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.8901, allocations: 91.42 kB / 1.021 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.305e-05/0.8902, allocations: 72.27 kB / 1.021 GB, free: 21.08 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.8903, allocations: 328.7 kB / 1.022 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.8905, allocations: 81.98 kB / 1.022 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.8907, allocations: 133.1 kB / 1.022 GB, free: 20.72 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.891, allocations: 218.8 kB / 1.022 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.891, allocations: 4 kB / 1.022 GB, free: 20.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006455/0.8917, allocations: 300.8 kB / 1.022 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8917, allocations: 3.469 kB / 1.022 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.8917, allocations: 2.969 kB / 1.022 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8917, allocations: 2.969 kB / 1.022 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002619/0.892, allocations: 82.75 kB / 1.022 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.892, allocations: 2.688 kB / 1.022 GB, free: 20.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.8921, allocations: 21.89 kB / 1.023 GB, free: 20.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.8922, allocations: 32.61 kB / 1.023 GB, free: 20.61 MB / 0.7325 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.0001292/0.8923, allocations: 127.2 kB / 1.023 GB, free: 20.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.8925, allocations: 17.03 kB / 1.023 GB, free: 20.48 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/0.8944, allocations: 2.492 MB / 1.025 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.8944, allocations: 12.2 kB / 1.025 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8944, allocations: 0 / 1.025 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.8944, allocations: 3.844 kB / 1.025 GB, free: 20.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002641/0.897, allocations: 3.58 MB / 1.029 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.897, allocations: 1.688 kB / 1.029 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.8973, allocations: 62.64 kB / 1.029 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8973, allocations: 1.453 kB / 1.029 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.8973, allocations: 10.78 kB / 1.029 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.8973, allocations: 4.188 kB / 1.029 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8973, allocations: 0 / 1.029 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.8979, allocations: 0.5557 MB / 1.029 GB, free: 19.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.898, allocations: 65.62 kB / 1.029 GB, free: 19.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.8981, allocations: 11.69 kB / 1.029 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.8983, allocations: 12.59 kB / 1.029 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.8983, allocations: 22.41 kB / 1.029 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.8983, allocations: 16.89 kB / 1.029 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.903e-05/0.8984, allocations: 110 kB / 1.029 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8984, allocations: 0 / 1.029 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006077/0.9045, allocations: 1.712 MB / 1.031 GB, free: 19.34 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.01075/0.9152, allocations: 2.958 MB / 1.034 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000628/0.9159, allocations: 321.3 kB / 1.034 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.9159, allocations: 0 / 1.034 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002414/0.9161, allocations: 193 kB / 1.035 GB, free: 18.33 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.9167, allocations: 71.34 kB / 1.035 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006444/0.9231, allocations: 3.11 MB / 1.038 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001002/0.9232, allocations: 157.9 kB / 1.038 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004247/0.9236, allocations: 406.8 kB / 1.038 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.9238, allocations: 99.94 kB / 1.038 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.9238, allocations: 0 / 1.038 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1296/1.053, allocations: 64.25 MB / 1.101 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.52, allocations: 5.625 kB / 1.101 GB, free: 5.09 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: 19.694610743317753] Failed to read output from testmodel.py, exit status != 0: 15.670507236849517 15.691614089 14.890247133999999 Calling exit ...