Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.0008504/0.0008504, 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.0009821/0.0009821, allocations: 210.3 kB / 22.26 MB, free: 3.852 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 0.944/0.944, allocations: 230.6 MB / 256 MB, free: 3.438 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.8168/0.8168, allocations: 203.8 MB / 0.5042 GB, free: 0.7422 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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",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.0009196/0.0009196, allocations: 69.62 kB / 0.7182 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5059/0.5068, allocations: 102 MB / 0.8178 GB, free: 24.82 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1399/0.6467, allocations: 138.7 MB / 0.9533 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001546/0.6468, allocations: 47.81 kB / 0.9533 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.6469, allocations: 0 / 0.9533 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.647, allocations: 3.984 kB / 0.9533 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.6471, allocations: 15.92 kB / 0.9533 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.6485, allocations: 254.3 kB / 0.9536 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.6486, allocations: 31.86 kB / 0.9536 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.6486, allocations: 4 kB / 0.9536 GB, free: 7.691 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.396e-05/0.6487, allocations: 19.81 kB / 0.9536 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.6488, allocations: 11.98 kB / 0.9536 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.6488, allocations: 0 / 0.9536 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005739/0.6494, allocations: 255.4 kB / 0.9539 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.6495, allocations: 15.97 kB / 0.9539 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.6495, allocations: 11.94 kB / 0.9539 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.65, allocations: 193.6 kB / 0.9541 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.65, allocations: 0 / 0.9541 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.208e-06/0.65, allocations: 0 / 0.9541 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.086e-05/0.65, allocations: 0 / 0.9541 GB, free: 7.203 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000551/0.6505, allocations: 278.1 kB / 0.9544 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.21e-05/0.6506, allocations: 9.469 kB / 0.9544 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.892e-05/0.6507, allocations: 38.75 kB / 0.9544 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.6507, allocations: 0.9375 kB / 0.9544 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.6508, allocations: 118.5 kB / 0.9545 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.52e-05/0.6509, allocations: 59.72 kB / 0.9546 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.6509, allocations: 0 / 0.9546 GB, free: 6.637 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.6511, allocations: 45.62 kB / 0.9546 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.6511, allocations: 0 / 0.9546 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.6511, allocations: 7.984 kB / 0.9546 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/0.6512, allocations: 0 / 0.9546 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.6512, allocations: 11.98 kB / 0.9546 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.6519, allocations: 287.9 kB / 0.9549 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.652, allocations: 14.64 kB / 0.9549 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.652, allocations: 8.859 kB / 0.9549 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.337e-05/0.652, allocations: 31.92 kB / 0.955 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.6521, allocations: 30.56 kB / 0.955 GB, free: 6.137 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.413e-06/0.6521, allocations: 4 kB / 0.955 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001611/0.6522, allocations: 37.69 kB / 0.955 GB, free: 6.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.6523, allocations: 51.41 kB / 0.9551 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.6524, allocations: 101.8 kB / 0.9552 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.6524, allocations: 33.64 kB / 0.9552 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.6524, allocations: 84.09 kB / 0.9553 GB, free: 5.793 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.273e-06/0.6524, allocations: 7.922 kB / 0.9553 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.6525, allocations: 21.67 kB / 0.9553 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.6526, allocations: 322.9 kB / 0.9556 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.6526, allocations: 7.938 kB / 0.9556 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.6526, allocations: 17.72 kB / 0.9557 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.758e-05/0.6527, allocations: 13.72 kB / 0.9557 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6527, allocations: 0 / 0.9557 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.459e-05/0.6527, allocations: 57.66 kB / 0.9557 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.6527, allocations: 4 kB / 0.9557 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6528, allocations: 0 / 0.9557 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6528, allocations: 0 / 0.9557 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.6528, allocations: 11.98 kB / 0.9557 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6528, allocations: 0 / 0.9557 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.6528, allocations: 3.938 kB / 0.9557 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.6529, allocations: 4 kB / 0.9557 GB, free: 5.297 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.943e-05/0.6529, allocations: 109.8 kB / 0.9558 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.6529, allocations: 4.031 kB / 0.9559 GB, free: 5.176 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.6531, allocations: 128.8 kB / 0.956 GB, free: 5.035 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.822e-05/0.6531, allocations: 184.3 kB / 0.9562 GB, free: 4.848 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-05/0.6532, allocations: 180.2 kB / 0.9563 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.633e-05/0.6532, allocations: 180.2 kB / 0.9565 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.6537, allocations: 380.3 kB / 0.9569 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/0.6537, allocations: 104.9 kB / 0.957 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.253e-05/0.6538, allocations: 105 kB / 0.9571 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-05/0.6538, allocations: 184.2 kB / 0.9572 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.082e-05/0.6538, allocations: 176.3 kB / 0.9574 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.186e-05/0.6539, allocations: 176.3 kB / 0.9576 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.149e-05/0.6539, allocations: 188.2 kB / 0.9577 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.654, allocations: 315.9 kB / 0.9581 GB, free: 2.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.6541, allocations: 105 kB / 0.9582 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.14e-05/0.6541, allocations: 188.2 kB / 0.9583 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.6542, allocations: 113 kB / 0.9584 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.6543, allocations: 176.3 kB / 0.9586 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.6543, allocations: 112.9 kB / 0.9587 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.6543, allocations: 95.2 kB / 0.9588 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6543, allocations: 0 / 0.9588 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002286/0.6545, allocations: 47.81 kB / 0.9588 GB, free: 1.914 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0005236/0.6551, allocations: 0.8829 MB / 0.9597 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.629e-05/0.6552, allocations: 23.92 kB / 0.9597 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6552, allocations: 0 / 0.9597 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.11e-07/0.6552, allocations: 0 / 0.9597 GB, free: 0.9805 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.6555, allocations: 461.8 kB / 0.9602 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.6565, allocations: 1.344 MB / 0.9615 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.6567, allocations: 0.6805 MB / 0.9622 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.378e-05/0.6568, allocations: 4 kB / 0.9622 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.6568, allocations: 11.44 kB / 0.9622 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of SimCode: time 8.81e-07/0.6568, allocations: 0 / 0.9622 GB, free: 14.37 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.6767, allocations: 2.317 MB / 0.9644 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.824/7.501, allocations: 8.047 kB / 0.9644 GB, free: 12.19 MB / 0.7448 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.547559425001964] Failed to read output from testmodel.py, exit status != 0: 7.577019122894853 7.586022208 6.934153533 Calling exit ...