Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamProperties.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.0007414/0.0007414, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001173/0.001173, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.9845/0.9845, allocations: 230.6 MB / 256 MB, free: 9.594 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.8544/0.8544, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamProperties",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.001525/0.001525, allocations: 72.86 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5332, allocations: 102 MB / 0.8178 GB, free: 1.047 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1361/0.6693, allocations: 119.6 MB / 0.9346 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01994/0.6892, allocations: 20.24 MB / 0.9544 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.6894, allocations: 0 / 0.9544 GB, free: 9.312 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003021/0.6897, allocations: 43.69 kB / 0.9544 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.69, allocations: 111.3 kB / 0.9545 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01298/0.7029, allocations: 6.929 MB / 0.9613 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.7033, allocations: 251.9 kB / 0.9615 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.7033, allocations: 5.75 kB / 0.9615 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.7036, allocations: 159.3 kB / 0.9617 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.7037, allocations: 83.66 kB / 0.9618 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.7037, allocations: 8 kB / 0.9618 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01449/0.7182, allocations: 11.11 MB / 0.9726 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.7183, allocations: 35.89 kB / 0.9727 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.7184, allocations: 79.7 kB / 0.9727 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.7325, allocations: 6.486 MB / 0.9791 GB, free: 28 kB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.7326, allocations: 0 / 0.9791 GB, free: 28 kB / 0.7448 GB Notification: Performance of FrontEnd: time 2.926e-06/0.7326, allocations: 4 kB / 0.9791 GB, free: 24 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.457e-06/0.7326, allocations: 0 / 0.9791 GB, free: 24 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003537/0.7361, allocations: 1.159 MB / 0.9802 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.7362, allocations: 8.031 kB / 0.9802 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/0.7362, allocations: 50.73 kB / 0.9803 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.7373, allocations: 88.75 kB / 0.9803 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.7376, allocations: 166.2 kB / 0.9805 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.7377, allocations: 15.94 kB / 0.9805 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.7377, allocations: 20 kB / 0.9805 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008229/0.7385, allocations: 0.6663 MB / 0.9812 GB, free: 13.72 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.7385, allocations: 3.938 kB / 0.9812 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.7385, allocations: 12 kB / 0.9812 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7385, allocations: 4 kB / 0.9812 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.7396, allocations: 0.6049 MB / 0.9818 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007893/0.7404, allocations: 0.738 MB / 0.9825 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.7409, allocations: 234.3 kB / 0.9827 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.741, allocations: 61.5 kB / 0.9828 GB, free: 12 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04598/0.787, allocations: 23.36 MB / 1.006 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.787, allocations: 38.56 kB / 1.006 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 2.574e-06/0.787, allocations: 7.938 kB / 1.006 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.001174/0.7882, allocations: 421.8 kB / 1.006 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.7882, allocations: 55.41 kB / 1.006 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.7883, allocations: 145.7 kB / 1.006 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.7884, allocations: 29.7 kB / 1.006 GB, free: 3.859 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.7884, allocations: 116.4 kB / 1.006 GB, free: 3.742 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.7885, allocations: 83.23 kB / 1.006 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/0.7886, allocations: 81.66 kB / 1.007 GB, free: 3.574 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.7887, allocations: 326.8 kB / 1.007 GB, free: 3.246 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.7888, allocations: 79.95 kB / 1.007 GB, free: 3.168 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.789, allocations: 130.8 kB / 1.007 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.7893, allocations: 225 kB / 1.007 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.7893, allocations: 0 / 1.007 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004696/0.7897, allocations: 306.1 kB / 1.008 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.7898, allocations: 4 kB / 1.008 GB, free: 2.477 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7898, allocations: 4.156 kB / 1.008 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.7898, allocations: 4 kB / 1.008 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.79, allocations: 79.88 kB / 1.008 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.79, allocations: 4 kB / 1.008 GB, free: 2.387 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.553e-05/0.79, allocations: 31.72 kB / 1.008 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.7901, allocations: 27.97 kB / 1.008 GB, free: 2.328 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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 9.77e-05/0.7902, allocations: 133.8 kB / 1.008 GB, free: 2.188 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.436e-05/0.7903, allocations: 15.91 kB / 1.008 GB, free: 2.172 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.7922, allocations: 2.479 MB / 1.01 GB, free: 15.68 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.7922, allocations: 19.97 kB / 1.01 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.7922, allocations: 0 / 1.01 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.7922, allocations: 3.938 kB / 1.01 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.7945, allocations: 3.582 MB / 1.014 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.7945, allocations: 0 / 1.014 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.7946, allocations: 51.95 kB / 1.014 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.7946, allocations: 3.938 kB / 1.014 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.7946, allocations: 11.98 kB / 1.014 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.7946, allocations: 0 / 1.014 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7946, allocations: 4 kB / 1.014 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.7951, allocations: 0.5545 MB / 1.014 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.7952, allocations: 75.5 kB / 1.014 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.7952, allocations: 11.94 kB / 1.014 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.7953, allocations: 15.92 kB / 1.015 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.7954, allocations: 15.97 kB / 1.015 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.7954, allocations: 12 kB / 1.015 GB, free: 11.21 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.7954, allocations: 109.6 kB / 1.015 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7954, allocations: 0 / 1.015 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004007/0.7994, allocations: 1.715 MB / 1.016 GB, free: 9.383 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006607/0.806, allocations: 2.964 MB / 1.019 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.8065, allocations: 316.6 kB / 1.02 GB, free: 6.074 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.8065, allocations: 4.062 kB / 1.02 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.8067, allocations: 193.5 kB / 1.02 GB, free: 5.883 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.807, allocations: 59.89 kB / 1.02 GB, free: 5.824 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/0.8105, allocations: 3.094 MB / 1.023 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.8106, allocations: 160.7 kB / 1.023 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003597/0.811, allocations: 413.2 kB / 1.023 GB, free: 2.039 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.8111, allocations: 99.39 kB / 1.023 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of SimCode: time 7.02e-07/0.8111, allocations: 0 / 1.023 GB, free: 1.941 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09136/0.9025, allocations: 64.22 MB / 1.086 GB, free: 1.812 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.927/9.83, allocations: 13.3 kB / 1.086 GB, free: 1.805 MB / 0.8542 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.008309876080602] Failed to read output from testmodel.py, exit status != 0: 9.951571519020945 9.964734259 9.229848043 Calling exit ...