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.0007722/0.0007722, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007799/0.0007799, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8608/0.8608, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.001452/0.001452, allocations: 237.8 kB / 259.4 MB, free: 13.03 MB / 250.7 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 0.6463/0.6463, allocations: 138.4 MB / 454.3 MB, free: 1.648 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.6463 GB, free: 29 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.561e-05/1.744e-05, allocations: 2.281 kB / 0.6463 GB, free: 29 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.09338/0.0934, allocations: 119.6 MB / 0.7631 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.1101, allocations: 20.23 MB / 0.7829 GB, free: 5.188 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.1102, allocations: 11.94 kB / 0.7829 GB, free: 5.176 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.1105, allocations: 39.75 kB / 0.783 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.1108, allocations: 95.3 kB / 0.783 GB, free: 5.043 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01193/0.1227, allocations: 7.017 MB / 0.7899 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.123, allocations: 263.7 kB / 0.7901 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.004e-05/0.1231, allocations: 5.812 kB / 0.7902 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.1234, allocations: 183.4 kB / 0.7903 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1235, allocations: 71.84 kB / 0.7904 GB, free: 13.53 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.1235, allocations: 11.94 kB / 0.7904 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01413/0.1377, allocations: 11.13 MB / 0.8013 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1378, allocations: 35.89 kB / 0.8013 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1379, allocations: 71.88 kB / 0.8014 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01414/0.1521, allocations: 8.365 MB / 0.8095 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1521, allocations: 0 / 0.8095 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1521, allocations: 0 / 0.8095 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1521, allocations: 0 / 0.8095 GB, free: 9.883 MB / 0.6511 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.002855/0.1549, allocations: 1.171 MB / 0.8107 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.155, allocations: 8.75 kB / 0.8107 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.155, allocations: 54.73 kB / 0.8108 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.1556, allocations: 84.77 kB / 0.8108 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1558, allocations: 177.5 kB / 0.811 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1558, allocations: 12.36 kB / 0.811 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1559, allocations: 20.31 kB / 0.811 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007395/0.1566, allocations: 0.6675 MB / 0.8117 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1566, allocations: 0 / 0.8117 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.1566, allocations: 8 kB / 0.8117 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1566, allocations: 4 kB / 0.8117 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.1573, allocations: 0.6125 MB / 0.8123 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000768/0.1581, allocations: 0.7264 MB / 0.813 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004455/0.1585, allocations: 242.2 kB / 0.8132 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.837e-05/0.1586, allocations: 61.27 kB / 0.8133 GB, free: 5.844 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04104/0.1996, allocations: 23.36 MB / 0.8361 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.1997, allocations: 42.55 kB / 0.8361 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=25): time 1.733e-06/0.1997, allocations: 3.938 kB / 0.8361 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=25): time 0.001027/0.2007, allocations: 424.6 kB / 0.8366 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.2007, allocations: 55.41 kB / 0.8366 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.2008, allocations: 143.6 kB / 0.8367 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2008, allocations: 29.7 kB / 0.8368 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/0.2009, allocations: 108.5 kB / 0.8369 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.2009, allocations: 83.22 kB / 0.837 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.201, allocations: 85.61 kB / 0.837 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.2011, allocations: 334.8 kB / 0.8374 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.2012, allocations: 79.95 kB / 0.8374 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.2014, allocations: 129.1 kB / 0.8376 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002843/0.2016, allocations: 220.9 kB / 0.8378 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2016, allocations: 0 / 0.8378 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006493/0.2023, allocations: 304.9 kB / 0.8381 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.2023, allocations: 4 kB / 0.8381 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.2023, allocations: 0 / 0.8381 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.2023, allocations: 4 kB / 0.8381 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.2025, allocations: 79.88 kB / 0.8381 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.2025, allocations: 4 kB / 0.8381 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.856e-05/0.2026, allocations: 23.78 kB / 0.8382 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.2026, allocations: 23.98 kB / 0.8382 GB, free: 12.2 MB / 0.6823 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 9.336e-05/0.2027, allocations: 138.4 kB / 0.8383 GB, free: 12.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.762e-05/0.2028, allocations: 16 kB / 0.8383 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.2043, allocations: 2.493 MB / 0.8408 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.2043, allocations: 11.98 kB / 0.8408 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2043, allocations: 0 / 0.8408 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2043, allocations: 0 / 0.8408 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/0.2064, allocations: 3.583 MB / 0.8443 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2065, allocations: 0 / 0.8443 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.2066, allocations: 55.89 kB / 0.8443 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2066, allocations: 0 / 0.8443 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.2066, allocations: 15.98 kB / 0.8443 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2066, allocations: 4 kB / 0.8444 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2066, allocations: 7.938 kB / 0.8444 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006862/0.2073, allocations: 0.5588 MB / 0.8449 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.2074, allocations: 67.56 kB / 0.845 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.2074, allocations: 8 kB / 0.845 GB, free: 5.117 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.2075, allocations: 11.98 kB / 0.845 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.2075, allocations: 19.91 kB / 0.845 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.2076, allocations: 12 kB / 0.845 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.2076, allocations: 108.8 kB / 0.8451 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7e-08/0.2076, allocations: 3.938 kB / 0.8451 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003461/0.2111, allocations: 1.715 MB / 0.8468 GB, free: 3.246 MB / 0.6823 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.007365/0.2184, allocations: 3.198 MB / 0.8499 GB, free: 16 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005175/0.219, allocations: 316.4 kB / 0.8502 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.219, allocations: 0 / 0.8502 GB, free: 15.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.2191, allocations: 196.5 kB / 0.8504 GB, free: 15.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.2196, allocations: 74.09 kB / 0.8505 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.2239, allocations: 3.073 MB / 0.8535 GB, free: 12.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.189e-05/0.224, allocations: 152.7 kB / 0.8536 GB, free: 12.08 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000357/0.2244, allocations: 413.1 kB / 0.854 GB, free: 11.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.2245, allocations: 100.5 kB / 0.8541 GB, free: 11.58 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/0.2245, allocations: 0 / 0.8541 GB, free: 11.58 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3049/0.5294, allocations: 64.57 MB / 0.9172 GB, free: 168.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.863/9.393, allocations: 8.891 kB / 0.9172 GB, free: 168.9 MB / 0.698 GB " [Timeout remaining time 650] (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: 12.164180414751172] Failed to read output from testmodel.py, exit status != 0: 9.507002858445048 9.512826726 9.35933201 Calling exit ...