Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 101.8 kB / 16.4 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 196 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.786/0.786, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.94 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1696, allocations: 76.17 MB / 0.6316 GB, free: 4.973 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.5285/0.6981, allocations: 135.5 MB / 0.7639 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008929/0.7071, allocations: 7.919 MB / 0.7716 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.7072, allocations: 2.094 kB / 0.7717 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.7074, allocations: 22.97 kB / 0.7717 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.159e-05/0.7075, allocations: 25.78 kB / 0.7717 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004744/0.7123, allocations: 1.469 MB / 0.7731 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.7124, allocations: 79.81 kB / 0.7732 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.7125, allocations: 3.969 kB / 0.7732 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.7126, allocations: 45.8 kB / 0.7733 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.7127, allocations: 31 kB / 0.7733 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.7127, allocations: 3.312 kB / 0.7733 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00525/0.718, allocations: 2.702 MB / 0.7759 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.718, allocations: 14.67 kB / 0.7759 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 7.067e-05/0.7181, allocations: 35.64 kB / 0.776 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.7206, allocations: 1.378 MB / 0.7773 GB, free: 14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.7207, allocations: 0 / 0.7773 GB, free: 14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7207, allocations: 1.219 kB / 0.7773 GB, free: 14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.7207, allocations: 0 / 0.7773 GB, free: 14 MB / 0.5919 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.00111/0.7218, allocations: 0.4935 MB / 0.7778 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.7218, allocations: 12.84 kB / 0.7778 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.7219, allocations: 42.48 kB / 0.7779 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.7223, allocations: 24.03 kB / 0.7779 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.7224, allocations: 176.6 kB / 0.778 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-05/0.7225, allocations: 29.77 kB / 0.7781 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.7225, allocations: 11.56 kB / 0.7781 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.7229, allocations: 119.6 kB / 0.7782 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.7229, allocations: 0 / 0.7782 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.7229, allocations: 4.938 kB / 0.7782 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.7229, allocations: 2.609 kB / 0.7782 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.7232, allocations: 114.2 kB / 0.7783 GB, free: 13.26 MB / 0.5919 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.000508/0.7237, allocations: 384.8 kB / 0.7787 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.724, allocations: 129.6 kB / 0.7788 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.286e-05/0.7241, allocations: 50.48 kB / 0.7789 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.735, allocations: 4.237 MB / 0.783 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.816e-05/0.7351, allocations: 34.75 kB / 0.783 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 2.505e-06/0.7351, allocations: 0 / 0.783 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0005858/0.7357, allocations: 163.4 kB / 0.7832 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.7358, allocations: 59.34 kB / 0.7832 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.7358, allocations: 101 kB / 0.7833 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.7359, allocations: 25.7 kB / 0.7834 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.7359, allocations: 83.8 kB / 0.7834 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.736, allocations: 47.61 kB / 0.7835 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.736, allocations: 26.34 kB / 0.7835 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7361, allocations: 322.3 kB / 0.7838 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.519e-05/0.7362, allocations: 23.88 kB / 0.7838 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.313e-05/0.7362, allocations: 32.5 kB / 0.7839 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.7364, allocations: 66.64 kB / 0.7839 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7364, allocations: 0 / 0.7839 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001735/0.7365, allocations: 116.3 kB / 0.784 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.7366, allocations: 5.5 kB / 0.7841 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7366, allocations: 1.203 kB / 0.7841 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.7366, allocations: 4.594 kB / 0.7841 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.7367, allocations: 19.03 kB / 0.7841 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.7367, allocations: 0 / 0.7841 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.489e-05/0.7368, allocations: 12.78 kB / 0.7841 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.7368, allocations: 6.406 kB / 0.7841 GB, free: 10.27 MB / 0.5919 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 7.866e-05/0.7369, allocations: 112.4 kB / 0.7842 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.737, allocations: 6.438 kB / 0.7842 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.7374, allocations: 370.6 kB / 0.7846 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.7374, allocations: 4.156 kB / 0.7846 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.7374, allocations: 2.906 kB / 0.7846 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.7374, allocations: 7.625 kB / 0.7846 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002708/0.7377, allocations: 282.3 kB / 0.7848 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.7377, allocations: 6.344 kB / 0.7849 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.316e-05/0.7378, allocations: 19.81 kB / 0.7849 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.7378, allocations: 2.625 kB / 0.7849 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.7378, allocations: 2.625 kB / 0.7849 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.7378, allocations: 2.031 kB / 0.7849 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.7379, allocations: 3.938 kB / 0.7849 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000331/0.7382, allocations: 334.9 kB / 0.7852 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.15e-05/0.7383, allocations: 102.7 kB / 0.7853 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.7383, allocations: 4.625 kB / 0.7853 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.7384, allocations: 12.09 kB / 0.7853 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.822e-05/0.7385, allocations: 8.531 kB / 0.7853 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.7385, allocations: 9.469 kB / 0.7853 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.925e-05/0.7385, allocations: 81.06 kB / 0.7854 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7385, allocations: 0 / 0.7854 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001822/0.7404, allocations: 297.3 kB / 0.7857 GB, free: 9.512 MB / 0.5919 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.002079/0.7425, allocations: 1.161 MB / 0.7868 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.7427, allocations: 125.3 kB / 0.7869 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7427, allocations: 1.094 kB / 0.7869 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001173/0.7429, allocations: 109.1 kB / 0.787 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.7432, allocations: 23.53 kB / 0.7871 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008978/0.7441, allocations: 436.8 kB / 0.7875 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.7444, allocations: 0.7129 MB / 0.7882 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.7445, allocations: 27.97 kB / 0.7882 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.7446, allocations: 44.56 kB / 0.7883 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.7446, allocations: 1.094 kB / 0.7883 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.7794, allocations: 11.61 MB / 0.7996 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.779, allocations: 15.31 kB / 0.7996 GB, free: 1.879 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)