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.0007212/0.0007212, 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.0007343/0.0007343, 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.8648/0.8648, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.001403/0.001403, allocations: 238.5 kB / 259.4 MB, free: 13.01 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.6605/0.6605, allocations: 138.4 MB / 454.3 MB, free: 30.08 MB / 410.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.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.6462 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.821e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3283/0.3283, allocations: 119.2 MB / 0.7626 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006741/0.335, allocations: 7.23 MB / 0.7697 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.3351, allocations: 0 / 0.7697 GB, free: 12.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.3353, allocations: 19.84 kB / 0.7697 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.3354, allocations: 23.78 kB / 0.7697 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.3386, allocations: 1.461 MB / 0.7712 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.3388, allocations: 79.58 kB / 0.7712 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.314e-05/0.3388, allocations: 3.984 kB / 0.7712 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.339, allocations: 63.81 kB / 0.7713 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.402e-05/0.339, allocations: 23.92 kB / 0.7713 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.339, allocations: 8 kB / 0.7713 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003487/0.3425, allocations: 2.622 MB / 0.7739 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.3426, allocations: 7.969 kB / 0.7739 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.836e-05/0.3426, allocations: 27.92 kB / 0.7739 GB, free: 8.438 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.3449, allocations: 1.801 MB / 0.7757 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3449, allocations: 0 / 0.7757 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3449, allocations: 0 / 0.7757 GB, free: 6.633 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3449, allocations: 0 / 0.7757 GB, free: 6.633 MB / 0.6042 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.0008732/0.3458, allocations: 433.7 kB / 0.7761 GB, free: 6.188 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3458, allocations: 17.94 kB / 0.7761 GB, free: 6.172 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.3459, allocations: 34.75 kB / 0.7761 GB, free: 6.129 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.3461, allocations: 29.38 kB / 0.7762 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.3462, allocations: 109.7 kB / 0.7763 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.3462, allocations: 55.97 kB / 0.7763 GB, free: 5.902 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.3462, allocations: 8.375 kB / 0.7763 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.3465, allocations: 163.3 kB / 0.7765 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.3465, allocations: 0 / 0.7765 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3465, allocations: 0 / 0.7765 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3465, allocations: 0.6562 kB / 0.7765 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.3467, allocations: 123.9 kB / 0.7766 GB, free: 5.602 MB / 0.6042 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.0004167/0.3471, allocations: 295.7 kB / 0.7769 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.3473, allocations: 118.5 kB / 0.777 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.711e-05/0.3473, allocations: 41.94 kB / 0.777 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005475/0.3528, allocations: 3.047 MB / 0.78 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.3529, allocations: 34.56 kB / 0.7801 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.976e-06/0.3529, allocations: 0.6562 kB / 0.7801 GB, free: 2.008 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0005455/0.3534, allocations: 155.8 kB / 0.7802 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.3534, allocations: 59.41 kB / 0.7803 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.815e-05/0.3535, allocations: 101.8 kB / 0.7804 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3535, allocations: 25.7 kB / 0.7804 GB, free: 1.641 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.3535, allocations: 92.09 kB / 0.7805 GB, free: 1.547 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.3536, allocations: 47.52 kB / 0.7805 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.3536, allocations: 33.55 kB / 0.7805 GB, free: 1.465 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.294e-05/0.3537, allocations: 318.8 kB / 0.7809 GB, free: 1.145 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.689e-05/0.3537, allocations: 27.98 kB / 0.7809 GB, free: 1.117 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.3538, allocations: 23.98 kB / 0.7809 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.3538, allocations: 75.47 kB / 0.781 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3538, allocations: 4 kB / 0.781 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000131/0.354, allocations: 105.6 kB / 0.7811 GB, free: 0.9062 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.354, allocations: 4 kB / 0.7811 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.354, allocations: 0 / 0.7811 GB, free: 0.9023 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.354, allocations: 4 kB / 0.7811 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.3541, allocations: 27.86 kB / 0.7811 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.3541, allocations: 0 / 0.7811 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.3541, allocations: 4 kB / 0.7811 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.3541, allocations: 4 kB / 0.7811 GB, free: 0.8633 MB / 0.6042 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 6.307e-05/0.3542, allocations: 118.4 kB / 0.7812 GB, free: 0.7383 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.3542, allocations: 13.33 kB / 0.7812 GB, free: 0.7266 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003129/0.3545, allocations: 383.7 kB / 0.7816 GB, free: 356 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.3545, allocations: 7.984 kB / 0.7816 GB, free: 348 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3546, allocations: 4 kB / 0.7816 GB, free: 344 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3546, allocations: 0 / 0.7816 GB, free: 344 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.3547, allocations: 256.4 kB / 0.7819 GB, free: 44 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3548, allocations: 0 / 0.7819 GB, free: 44 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.479e-05/0.3548, allocations: 19.98 kB / 0.7819 GB, free: 24 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3548, allocations: 0 / 0.7819 GB, free: 24 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.435e-06/0.3548, allocations: 4 kB / 0.7819 GB, free: 20 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3548, allocations: 9.766 kB / 0.7819 GB, free: 16 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3548, allocations: 4 kB / 0.7819 GB, free: 12 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.3551, allocations: 338.9 kB / 0.7822 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.3551, allocations: 27.83 kB / 0.7823 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.3551, allocations: 4 kB / 0.7823 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.3552, allocations: 7.984 kB / 0.7823 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.3552, allocations: 12.11 kB / 0.7823 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.3552, allocations: 4 kB / 0.7823 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.497e-05/0.3553, allocations: 91.25 kB / 0.7824 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.3553, allocations: 0 / 0.7824 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008061/0.3561, allocations: 299.7 kB / 0.7827 GB, free: 15.23 MB / 0.6198 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.001463/0.3575, allocations: 1.209 MB / 0.7838 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.3577, allocations: 134.5 kB / 0.784 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3577, allocations: 0 / 0.784 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.3578, allocations: 87.91 kB / 0.784 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.3581, allocations: 21.11 kB / 0.7841 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007988/0.3589, allocations: 430.9 kB / 0.7845 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.893e-05/0.3589, allocations: 106.3 kB / 0.7846 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.776e-05/0.359, allocations: 29.72 kB / 0.7846 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.771e-05/0.3591, allocations: 40.48 kB / 0.7846 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of SimCode: time 1.232e-06/0.3591, allocations: 0 / 0.7846 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.3839, allocations: 12.44 MB / 0.7968 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.478/6.862, allocations: 3.5 kB / 0.7968 GB, free: 0.875 MB / 0.6198 GB " [Timeout remaining time 653] (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: 9.400060003623366] Failed to read output from testmodel.py, exit status != 0: 6.942847767844796 6.951427848 6.604746627 Calling exit ...