Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.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.001244/0.001244, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001326/0.001326, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.458/1.458, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002514/0.002514, allocations: 287.7 kB / 309.8 MB, free: 3.41 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.057/1.057, allocations: 180.6 MB / 0.5338 GB, free: 12.72 MB / 398.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.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",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.002939/0.002939, allocations: 102 kB / 0.7347 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4946/0.4975, allocations: 95.34 MB / 0.8278 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.1657/0.6632, allocations: 138.8 MB / 0.9633 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.009572/0.6728, allocations: 8.013 MB / 0.9711 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.6728, allocations: 4 kB / 0.9711 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.673, allocations: 27.83 kB / 0.9712 GB, free: 6.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.6731, allocations: 19.84 kB / 0.9712 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003587/0.6767, allocations: 1.461 MB / 0.9726 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.6768, allocations: 87.56 kB / 0.9727 GB, free: 5.258 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.6769, allocations: 4 kB / 0.9727 GB, free: 5.254 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.677, allocations: 39.84 kB / 0.9727 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 8.655e-05/0.6771, allocations: 35.84 kB / 0.9728 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.6771, allocations: 0 / 0.9728 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.6812, allocations: 2.719 MB / 0.9754 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.6813, allocations: 11.97 kB / 0.9754 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.6813, allocations: 31.88 kB / 0.9755 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.6831, allocations: 1.395 MB / 0.9768 GB, free: 1.016 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6831, allocations: 4 kB / 0.9768 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.442e-06/0.6831, allocations: 0 / 0.9768 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6831, allocations: 0 / 0.9768 GB, free: 1.012 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001022/0.6841, allocations: 0.4906 MB / 0.9773 GB, free: 484 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6841, allocations: 12.03 kB / 0.9773 GB, free: 472 kB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.142e-05/0.6842, allocations: 8.125 kB / 0.9773 GB, free: 464 kB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.887e-05/0.6842, allocations: 42.73 kB / 0.9774 GB, free: 412 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003528/0.6846, allocations: 20.88 kB / 0.9774 GB, free: 392 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.6847, allocations: 172.4 kB / 0.9776 GB, free: 180 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.738e-05/0.6848, allocations: 33.83 kB / 0.9776 GB, free: 140 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.6848, allocations: 8 kB / 0.9776 GB, free: 132 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.6851, allocations: 121.5 kB / 0.9777 GB, free: 4 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6851, allocations: 4 kB / 0.9777 GB, free: 0 / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.6852, allocations: 4.078 kB / 0.9777 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.6852, allocations: 0 / 0.9777 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.6855, allocations: 111.9 kB / 0.9778 GB, free: 15.88 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.686, allocations: 388 kB / 0.9782 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.6862, allocations: 118.5 kB / 0.9783 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.6863, allocations: 48.84 kB / 0.9784 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01212/0.6984, allocations: 4.677 MB / 0.9829 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.013e-05/0.6985, allocations: 38.56 kB / 0.983 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.6985, allocations: 0 / 0.983 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005292/0.699, allocations: 172.3 kB / 0.9831 GB, free: 9.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.699, allocations: 55.34 kB / 0.9832 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.6991, allocations: 105.8 kB / 0.9833 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.6991, allocations: 29.7 kB / 0.9833 GB, free: 9.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.6992, allocations: 84.22 kB / 0.9834 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.6992, allocations: 43.59 kB / 0.9834 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/0.6993, allocations: 33.7 kB / 0.9835 GB, free: 9.582 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6994, allocations: 322.8 kB / 0.9838 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.003e-05/0.6995, allocations: 23.98 kB / 0.9838 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.098e-05/0.6995, allocations: 27.98 kB / 0.9838 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.6996, allocations: 64.84 kB / 0.9839 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6996, allocations: 0 / 0.9839 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001901/0.6998, allocations: 112.9 kB / 0.984 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.6998, allocations: 8 kB / 0.984 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.6998, allocations: 0 / 0.984 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.6999, allocations: 4 kB / 0.984 GB, free: 9.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.7, allocations: 19.98 kB / 0.984 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7, allocations: 7.938 kB / 0.984 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.036e-05/0.7, allocations: 11.89 kB / 0.984 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.7001, allocations: 4 kB / 0.984 GB, free: 8.973 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 8.728e-05/0.7001, allocations: 117.3 kB / 0.9842 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.7002, allocations: 7.953 kB / 0.9842 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.7007, allocations: 373.9 kB / 0.9845 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.7007, allocations: 7.984 kB / 0.9845 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7007, allocations: 7.938 kB / 0.9845 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7007, allocations: 0 / 0.9845 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.701, allocations: 281.4 kB / 0.9848 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.701, allocations: 0 / 0.9848 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.731e-05/0.7011, allocations: 20 kB / 0.9848 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.7011, allocations: 7.984 kB / 0.9848 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.7011, allocations: 0 / 0.9848 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7011, allocations: 0 / 0.9848 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.7011, allocations: 7.875 kB / 0.9848 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.7015, allocations: 339.6 kB / 0.9852 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.7016, allocations: 108.9 kB / 0.9853 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.7016, allocations: 8 kB / 0.9853 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.7017, allocations: 4 kB / 0.9853 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.7017, allocations: 11.92 kB / 0.9853 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.7017, allocations: 15.92 kB / 0.9853 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.7018, allocations: 79.28 kB / 0.9854 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7018, allocations: 0 / 0.9854 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008522/0.7026, allocations: 307.7 kB / 0.9857 GB, free: 7.203 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001816/0.7045, allocations: 1.153 MB / 0.9868 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002355/0.7047, allocations: 123.9 kB / 0.9869 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.7047, allocations: 0 / 0.9869 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.7048, allocations: 87.91 kB / 0.987 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.7051, allocations: 23.92 kB / 0.987 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008974/0.706, allocations: 433.5 kB / 0.9874 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.7063, allocations: 0.7133 MB / 0.9881 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000104/0.7064, allocations: 36.33 kB / 0.9882 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.244e-05/0.7065, allocations: 39.41 kB / 0.9882 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.7065, allocations: 0 / 0.9882 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03266/0.7391, allocations: 11.77 MB / 0.9997 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.959, allocations: 11.02 kB / 0.9997 GB, free: 8.871 MB / 0.7325 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.94621449499391] Failed to read output from testmodel.py, exit status != 0: 9.096394478983711 9.110195155 8.424316387 Calling exit ...