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.001248/0.001248, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001381/0.001381, allocations: 220.9 kB / 23.05 MB, free: 5.074 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.002436/0.002436, allocations: 285 kB / 313.5 MB, free: 2.793 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.249/1.249, allocations: 180.6 MB / 0.5377 GB, free: 12.9 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.002679/0.002679, allocations: 95.61 kB / 0.7404 GB, free: 28.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1705, allocations: 95.38 MB / 0.8335 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1684/0.3389, allocations: 139.4 MB / 0.9696 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4187/0.7576, allocations: 22.87 MB / 0.992 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.7578, allocations: 0.875 kB / 0.992 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.7581, allocations: 49.2 kB / 0.992 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.7585, allocations: 100.4 kB / 0.9921 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01725/0.7758, allocations: 6.976 MB / 0.9989 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000422/0.7762, allocations: 255.6 kB / 0.9992 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.2e-05/0.7763, allocations: 10.45 kB / 0.9992 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.7766, allocations: 145.6 kB / 0.9993 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001874/0.7768, allocations: 92.33 kB / 0.9994 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.7768, allocations: 9.109 kB / 0.9994 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02294/0.7998, allocations: 11.71 MB / 1.011 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.7999, allocations: 34.69 kB / 1.011 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.8001, allocations: 86.22 kB / 1.011 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01507/0.8151, allocations: 6.502 MB / 1.017 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8151, allocations: 0 / 1.017 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8151, allocations: 0.9062 kB / 1.017 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.8151, allocations: 0 / 1.017 GB, free: 3.398 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.004226/0.8194, allocations: 1.177 MB / 1.018 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.8194, allocations: 10.86 kB / 1.018 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.841e-05/0.8194, allocations: 6.125 kB / 1.018 GB, free: 18.69 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.8195, allocations: 49.56 kB / 1.019 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.8206, allocations: 87.89 kB / 1.019 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.8208, allocations: 168.3 kB / 1.019 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.8208, allocations: 17.53 kB / 1.019 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.8209, allocations: 14.31 kB / 1.019 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.8219, allocations: 472 kB / 1.019 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.8219, allocations: 3.219 kB / 1.019 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.822, allocations: 13.81 kB / 1.019 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.822, allocations: 3.375 kB / 1.019 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.8231, allocations: 0.617 MB / 1.02 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.8241, allocations: 0.857 MB / 1.021 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.8248, allocations: 246.5 kB / 1.021 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.8249, allocations: 61.92 kB / 1.021 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08201/0.9069, allocations: 23.3 MB / 1.044 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.907, allocations: 36.47 kB / 1.044 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.164e-06/0.907, allocations: 0 / 1.044 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.00178/0.9088, allocations: 425.2 kB / 1.044 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.9088, allocations: 58.25 kB / 1.044 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/0.9089, allocations: 137.9 kB / 1.044 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.021e-05/0.909, allocations: 32.2 kB / 1.044 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.129e-05/0.9091, allocations: 110.2 kB / 1.045 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.92e-05/0.9092, allocations: 89.69 kB / 1.045 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.9093, allocations: 73.39 kB / 1.045 GB, free: 9.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.9095, allocations: 329 kB / 1.045 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.9096, allocations: 85.7 kB / 1.045 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.9098, allocations: 129.8 kB / 1.045 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/0.9103, allocations: 218.3 kB / 1.045 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9103, allocations: 2.5 kB / 1.045 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007518/0.911, allocations: 303 kB / 1.046 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.911, allocations: 5.344 kB / 1.046 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.911, allocations: 1.594 kB / 1.046 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.9111, allocations: 3.562 kB / 1.046 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.9113, allocations: 82.44 kB / 1.046 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.9114, allocations: 1.688 kB / 1.046 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.9115, allocations: 28.78 kB / 1.046 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.65e-05/0.9115, allocations: 31.34 kB / 1.046 GB, free: 8.996 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.0001512/0.9117, allocations: 130.8 kB / 1.046 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.9119, allocations: 16.28 kB / 1.046 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002424/0.9143, allocations: 2.483 MB / 1.048 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.9143, allocations: 11.8 kB / 1.048 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9143, allocations: 0 / 1.048 GB, free: 7.305 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.9143, allocations: 11.92 kB / 1.048 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.9178, allocations: 3.594 MB / 1.052 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9178, allocations: 0 / 1.052 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.9181, allocations: 57.62 kB / 1.052 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.9181, allocations: 4 kB / 1.052 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.9181, allocations: 7.5 kB / 1.052 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.9181, allocations: 4 kB / 1.052 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9181, allocations: 0 / 1.052 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008547/0.919, allocations: 0.5575 MB / 1.053 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.9191, allocations: 63.89 kB / 1.053 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.501e-05/0.9191, allocations: 15.06 kB / 1.053 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.9193, allocations: 13.36 kB / 1.053 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.9194, allocations: 18.78 kB / 1.053 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.9194, allocations: 15.81 kB / 1.053 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000109/0.9195, allocations: 105.6 kB / 1.053 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9195, allocations: 0 / 1.053 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005451/0.925, allocations: 1.72 MB / 1.054 GB, free: 2.562 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.01143/0.9364, allocations: 2.959 MB / 1.057 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008688/0.9373, allocations: 321.2 kB / 1.058 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.9373, allocations: 4 kB / 1.058 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.9377, allocations: 188.1 kB / 1.058 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.9383, allocations: 72.19 kB / 1.058 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.9488, allocations: 3.106 MB / 1.061 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007718/0.9496, allocations: 0.766 MB / 1.062 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0007614/0.9504, allocations: 410.6 kB / 1.062 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.9506, allocations: 102.6 kB / 1.062 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of SimCode: time 1.603e-06/0.9506, allocations: 0 / 1.062 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/1.069, allocations: 63.84 MB / 1.125 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/15.72, allocations: 4.062 kB / 1.125 GB, free: 11.79 MB / 0.8106 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.09157003299333] Failed to read output from testmodel.py, exit status != 0: 15.925283131015021 15.942302039 15.123763971 Calling exit ...