Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.0007726/0.0007726, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001284/0.001284, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.013/1.013, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8392/0.8392, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.0009858/0.0009858, allocations: 70.41 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.5585, allocations: 102 MB / 0.8178 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamSaturationConsistencyCheck): time 0.1397/0.6982, allocations: 138.8 MB / 0.9534 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.007366/0.7056, allocations: 8.045 MB / 0.9613 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.233e-05/0.7056, allocations: 0 / 0.9613 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.7059, allocations: 31.83 kB / 0.9613 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.134e-05/0.7059, allocations: 19.83 kB / 0.9613 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.004172/0.7101, allocations: 1.467 MB / 0.9628 GB, free: 1.102 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.7102, allocations: 75.59 kB / 0.9628 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.7103, allocations: 12 kB / 0.9629 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.7104, allocations: 43.83 kB / 0.9629 GB, free: 0.9727 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.7105, allocations: 35.89 kB / 0.9629 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.7105, allocations: 0 / 0.9629 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.7143, allocations: 2.719 MB / 0.9656 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.905e-05/0.7143, allocations: 15.92 kB / 0.9656 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.7144, allocations: 35.84 kB / 0.9656 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.7162, allocations: 1.388 MB / 0.967 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7162, allocations: 0 / 0.967 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7162, allocations: 0 / 0.967 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.7163, allocations: 4 kB / 0.967 GB, free: 12.77 MB / 0.7448 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.0009078/0.7172, allocations: 437.2 kB / 0.9674 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.7172, allocations: 8.031 kB / 0.9674 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.7172, allocations: 46.73 kB / 0.9675 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.7175, allocations: 20.88 kB / 0.9675 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.7176, allocations: 110.5 kB / 0.9676 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.457e-05/0.7176, allocations: 67.64 kB / 0.9677 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.7177, allocations: 12 kB / 0.9677 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.7179, allocations: 117.5 kB / 0.9678 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7179, allocations: 0 / 0.9678 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.7179, allocations: 4 kB / 0.9678 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.7179, allocations: 4 kB / 0.9678 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.7181, allocations: 115.9 kB / 0.9679 GB, free: 11.77 MB / 0.7448 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.0004591/0.7186, allocations: 351.2 kB / 0.9682 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.7188, allocations: 122.5 kB / 0.9683 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.7188, allocations: 48.78 kB / 0.9684 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005196/0.724, allocations: 3.028 MB / 0.9713 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.724, allocations: 38.56 kB / 0.9714 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.724, allocations: 0 / 0.9714 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003096/0.7244, allocations: 165.5 kB / 0.9715 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.7244, allocations: 59.41 kB / 0.9716 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/0.7244, allocations: 101.8 kB / 0.9717 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.7244, allocations: 29.7 kB / 0.9717 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/0.7245, allocations: 88.08 kB / 0.9718 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.7245, allocations: 47.59 kB / 0.9719 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.7245, allocations: 21.72 kB / 0.9719 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.7246, allocations: 318.8 kB / 0.9722 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.7247, allocations: 31.92 kB / 0.9722 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.7247, allocations: 31.23 kB / 0.9722 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.53e-05/0.7248, allocations: 68.86 kB / 0.9723 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.7248, allocations: 0 / 0.9723 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001169/0.7249, allocations: 109.6 kB / 0.9724 GB, free: 7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.7249, allocations: 7.984 kB / 0.9724 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7249, allocations: 0 / 0.9724 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.7249, allocations: 0 / 0.9724 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/0.725, allocations: 23.98 kB / 0.9724 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.818e-06/0.725, allocations: 0 / 0.9724 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.725, allocations: 15.83 kB / 0.9725 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.725, allocations: 8 kB / 0.9725 GB, free: 6.945 MB / 0.7448 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 5.804e-05/0.7251, allocations: 117.8 kB / 0.9726 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.7251, allocations: 7.953 kB / 0.9726 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.7254, allocations: 380.4 kB / 0.9729 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.7254, allocations: 3.984 kB / 0.9729 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7254, allocations: 3.938 kB / 0.973 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7254, allocations: 3.938 kB / 0.973 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.7256, allocations: 260.3 kB / 0.9732 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.7256, allocations: 4 kB / 0.9732 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.7257, allocations: 28.11 kB / 0.9732 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7257, allocations: 0 / 0.9732 GB, free: 6.094 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.7257, allocations: 4 kB / 0.9732 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7257, allocations: 0 / 0.9732 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.7257, allocations: 3.984 kB / 0.9732 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.7259, allocations: 335.2 kB / 0.9736 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.7259, allocations: 23.81 kB / 0.9736 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.7259, allocations: 8 kB / 0.9736 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.726, allocations: 7.984 kB / 0.9736 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.726, allocations: 15.92 kB / 0.9736 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.726, allocations: 4 kB / 0.9736 GB, free: 5.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.476e-05/0.726, allocations: 83.27 kB / 0.9737 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.726, allocations: 0 / 0.9737 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006127/0.7267, allocations: 307.6 kB / 0.974 GB, free: 5.301 MB / 0.7448 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.001185/0.7278, allocations: 1.171 MB / 0.9751 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001554/0.728, allocations: 123.9 kB / 0.9753 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.728, allocations: 0 / 0.9753 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.612e-05/0.7281, allocations: 91.89 kB / 0.9753 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.7283, allocations: 18.28 kB / 0.9754 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000655/0.7289, allocations: 443.3 kB / 0.9758 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001986/0.7291, allocations: 0.7164 MB / 0.9765 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.29e-05/0.7292, allocations: 29.55 kB / 0.9765 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.7292, allocations: 43.42 kB / 0.9766 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.7292, allocations: 0 / 0.9766 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.7535, allocations: 11.97 MB / 0.9882 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.928/7.682, allocations: 8.875 kB / 0.9883 GB, free: 6.723 MB / 0.7605 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamSaturationConsistencyCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.820355589035898] Failed to read output from testmodel.py, exit status != 0: 7.765179749112576 7.7757723930000004 7.057671093 Calling exit ...