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.0008136/0.0008136, 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.001014/0.001014, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.8753/0.8753, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.00135/0.00135, allocations: 245.8 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.6565/0.6565, allocations: 138.4 MB / 454.3 MB, free: 30.01 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.583e-06/1.583e-06, allocations: 0 / 0.6462 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.147e-05, allocations: 13.31 kB / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3453/0.3453, allocations: 119.2 MB / 0.7626 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006307/0.3516, allocations: 7.226 MB / 0.7697 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.107e-05/0.3516, allocations: 0 / 0.7697 GB, free: 12.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.3518, allocations: 19.92 kB / 0.7697 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.3519, allocations: 19.78 kB / 0.7697 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.3549, allocations: 1.462 MB / 0.7712 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.355, allocations: 79.58 kB / 0.7712 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.03e-05/0.3551, allocations: 11.98 kB / 0.7712 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.3552, allocations: 59.81 kB / 0.7713 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.3553, allocations: 27.91 kB / 0.7713 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.3553, allocations: 4 kB / 0.7713 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.3586, allocations: 2.618 MB / 0.7739 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.377e-05/0.3586, allocations: 11.98 kB / 0.7739 GB, free: 8.445 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.3587, allocations: 23.92 kB / 0.7739 GB, free: 8.422 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003329/0.362, allocations: 1.809 MB / 0.7757 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.362, allocations: 0 / 0.7757 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.643e-06/0.362, allocations: 0 / 0.7757 GB, free: 6.609 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.362, allocations: 4 kB / 0.7757 GB, free: 6.605 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.001177/0.3632, allocations: 436.5 kB / 0.7761 GB, free: 6.156 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.3633, allocations: 9.938 kB / 0.7761 GB, free: 6.148 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.3633, allocations: 38.75 kB / 0.7762 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003039/0.3636, allocations: 25.38 kB / 0.7762 GB, free: 6.078 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.881e-05/0.3637, allocations: 109.7 kB / 0.7763 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.755e-05/0.3638, allocations: 59.97 kB / 0.7763 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3638, allocations: 4.375 kB / 0.7763 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.3641, allocations: 155.4 kB / 0.7765 GB, free: 5.707 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.3641, allocations: 4 kB / 0.7765 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3641, allocations: 0 / 0.7765 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3641, allocations: 4.656 kB / 0.7765 GB, free: 5.699 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.3643, allocations: 115.9 kB / 0.7766 GB, free: 5.586 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.0003784/0.3647, allocations: 295.8 kB / 0.7769 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.3648, allocations: 122.5 kB / 0.777 GB, free: 5.125 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/0.3649, allocations: 45.92 kB / 0.7771 GB, free: 5.078 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005699/0.3706, allocations: 3.047 MB / 0.78 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3706, allocations: 34.56 kB / 0.7801 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 4.349e-06/0.3707, allocations: 0.6562 kB / 0.7801 GB, free: 1.984 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0003746/0.371, allocations: 159.9 kB / 0.7802 GB, free: 1.824 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002853/0.3713, allocations: 51.41 kB / 0.7803 GB, free: 1.762 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.597e-05/0.3714, allocations: 105.8 kB / 0.7804 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.3714, allocations: 29.7 kB / 0.7804 GB, free: 1.613 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.3714, allocations: 84.09 kB / 0.7805 GB, free: 1.527 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.3714, allocations: 47.58 kB / 0.7805 GB, free: 1.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.3715, allocations: 29.56 kB / 0.7805 GB, free: 1.449 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.3716, allocations: 322.8 kB / 0.7809 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.273e-05/0.3716, allocations: 27.98 kB / 0.7809 GB, free: 1.098 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.3716, allocations: 35.92 kB / 0.7809 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.9e-05/0.3717, allocations: 65.73 kB / 0.781 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3717, allocations: 0 / 0.781 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001237/0.3718, allocations: 102.1 kB / 0.7811 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3718, allocations: 11.98 kB / 0.7811 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3719, allocations: 0 / 0.7811 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3719, allocations: 0 / 0.7811 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.3719, allocations: 27.92 kB / 0.7811 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3719, allocations: 4 kB / 0.7811 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.394e-05/0.372, allocations: 0 / 0.7811 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.372, allocations: 8 kB / 0.7811 GB, free: 0.8398 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.396e-05/0.372, allocations: 122.4 kB / 0.7812 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.3721, allocations: 5.328 kB / 0.7812 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.3724, allocations: 384.9 kB / 0.7816 GB, free: 336 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.3724, allocations: 7.984 kB / 0.7816 GB, free: 328 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3724, allocations: 0 / 0.7816 GB, free: 328 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3724, allocations: 0 / 0.7816 GB, free: 328 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3726, allocations: 260.4 kB / 0.7819 GB, free: 24 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3726, allocations: 0 / 0.7819 GB, free: 24 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/0.3726, allocations: 19.98 kB / 0.7819 GB, free: 4 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/0.3727, allocations: 8.047 kB / 0.7819 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3727, allocations: 4 kB / 0.7819 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3727, allocations: 5.766 kB / 0.7819 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3727, allocations: 0 / 0.7819 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.3729, allocations: 338.9 kB / 0.7822 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.3729, allocations: 31.81 kB / 0.7823 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3729, allocations: 0 / 0.7823 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.373, allocations: 11.98 kB / 0.7823 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.373, allocations: 11.92 kB / 0.7823 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.373, allocations: 4 kB / 0.7823 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.496e-05/0.373, allocations: 83.27 kB / 0.7824 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.373, allocations: 0 / 0.7824 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007525/0.3738, allocations: 307.7 kB / 0.7827 GB, free: 15.2 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.001354/0.3752, allocations: 1.204 MB / 0.7838 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.3754, allocations: 133 kB / 0.784 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3754, allocations: 0 / 0.784 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.3754, allocations: 91.89 kB / 0.784 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.3757, allocations: 13.12 kB / 0.7841 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008289/0.3765, allocations: 445.6 kB / 0.7845 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.638e-05/0.3766, allocations: 102.3 kB / 0.7846 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.3767, allocations: 31.8 kB / 0.7846 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.512e-05/0.3767, allocations: 40.48 kB / 0.7847 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.072e-06/0.3767, allocations: 0 / 0.7847 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.4048, allocations: 12.44 MB / 0.7968 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.595/7, allocations: 15.53 kB / 0.7968 GB, free: 0.8438 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.65232206415385] Failed to read output from testmodel.py, exit status != 0: 7.082838883623481 7.09090947 6.726914299 Calling exit ...