Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001695/0.001695, allocations: 97.31 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002078/0.002078, allocations: 219 kB / 23.03 MB, free: 4.922 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8679/0.8679, allocations: 134 MB / 447.2 MB, free: 9.93 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamProperties",fmuType="cs",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.001895/0.001895, allocations: 64.38 kB / 0.6193 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1816, allocations: 85.91 MB / 0.7031 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.5426/0.7242, allocations: 119.6 MB / 0.8199 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02618/0.7504, allocations: 19.88 MB / 0.8393 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001572/0.7505, allocations: 0 / 0.8393 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002747/0.7508, allocations: 44.03 kB / 0.8394 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.7511, allocations: 98.98 kB / 0.8395 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01872/0.7699, allocations: 6.678 MB / 0.846 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004894/0.7703, allocations: 247.9 kB / 0.8462 GB, free: 420 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.795e-05/0.7704, allocations: 9.734 kB / 0.8462 GB, free: 412 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.7707, allocations: 147.4 kB / 0.8464 GB, free: 264 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.7709, allocations: 95.64 kB / 0.8465 GB, free: 168 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.771, allocations: 12 kB / 0.8465 GB, free: 156 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02095/0.7919, allocations: 10.85 MB / 0.8571 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.792, allocations: 31.89 kB / 0.8571 GB, free: 5.254 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.7922, allocations: 75.7 kB / 0.8572 GB, free: 5.18 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01544/0.8076, allocations: 6.17 MB / 0.8632 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/0.8076, allocations: 0 / 0.8632 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.524e-06/0.8076, allocations: 0 / 0.8632 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.8076, allocations: 0 / 0.8632 GB, free: 14.99 MB / 0.6387 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.003762/0.8114, allocations: 1.155 MB / 0.8643 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.8114, allocations: 8.031 kB / 0.8643 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.486e-05/0.8114, allocations: 4.188 kB / 0.8643 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.8115, allocations: 54.73 kB / 0.8644 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.8126, allocations: 84.75 kB / 0.8645 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.8129, allocations: 174.3 kB / 0.8646 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.8129, allocations: 11.94 kB / 0.8647 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.8129, allocations: 16.88 kB / 0.8647 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.8143, allocations: 0.6699 MB / 0.8653 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8143, allocations: 4 kB / 0.8653 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.8143, allocations: 8 kB / 0.8653 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.8143, allocations: 4 kB / 0.8653 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.8157, allocations: 0.625 MB / 0.866 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.8167, allocations: 0.7303 MB / 0.8667 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008816/0.8176, allocations: 226.4 kB / 0.8669 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.8177, allocations: 69.27 kB / 0.867 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08433/0.9021, allocations: 23.37 MB / 0.8898 GB, free: 3.543 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.9021, allocations: 38.55 kB / 0.8898 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 2.014e-06/0.9021, allocations: 3.938 kB / 0.8898 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001866/0.904, allocations: 415.6 kB / 0.8902 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.904, allocations: 59.41 kB / 0.8903 GB, free: 3.012 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.9042, allocations: 143.8 kB / 0.8904 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.432e-05/0.9042, allocations: 29.7 kB / 0.8904 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.9043, allocations: 112.4 kB / 0.8905 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.484e-05/0.9044, allocations: 91.22 kB / 0.8906 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.9045, allocations: 73.67 kB / 0.8907 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.9047, allocations: 322.8 kB / 0.891 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.9048, allocations: 87.69 kB / 0.8911 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.9051, allocations: 129 kB / 0.8912 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/0.9056, allocations: 226.7 kB / 0.8914 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9056, allocations: 0 / 0.8914 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007582/0.9063, allocations: 297.3 kB / 0.8917 GB, free: 1.461 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.9064, allocations: 8 kB / 0.8917 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9064, allocations: 0 / 0.8917 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.9064, allocations: 4.156 kB / 0.8917 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.9067, allocations: 87.88 kB / 0.8918 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.9067, allocations: 4 kB / 0.8918 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.9069, allocations: 27.72 kB / 0.8918 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.489e-05/0.907, allocations: 23.97 kB / 0.8919 GB, free: 1.309 MB / 0.6544 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 0.0001621/0.9071, allocations: 129.7 kB / 0.892 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.9073, allocations: 19.91 kB / 0.892 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.9101, allocations: 2.483 MB / 0.8944 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.9102, allocations: 7.984 kB / 0.8944 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.9102, allocations: 0 / 0.8944 GB, free: 14.64 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.9102, allocations: 15.81 kB / 0.8944 GB, free: 14.63 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.9141, allocations: 3.583 MB / 0.8979 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.9141, allocations: 0 / 0.8979 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.9144, allocations: 55.89 kB / 0.898 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/0.9144, allocations: 11.92 kB / 0.898 GB, free: 10.88 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.9144, allocations: 8 kB / 0.898 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.9144, allocations: 0 / 0.898 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9144, allocations: 0 / 0.898 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008638/0.9153, allocations: 0.5584 MB / 0.8986 GB, free: 10.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.9155, allocations: 59.64 kB / 0.8986 GB, free: 10.24 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.9155, allocations: 11.94 kB / 0.8986 GB, free: 10.23 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.9157, allocations: 15.98 kB / 0.8986 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.686e-05/0.9158, allocations: 15.97 kB / 0.8987 GB, free: 10.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.9158, allocations: 19.98 kB / 0.8987 GB, free: 10.18 MB / 0.67 GB Notification: Performance of sorting global known variables: time 9.38e-05/0.9159, allocations: 107.2 kB / 0.8988 GB, free: 10.07 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.9159, allocations: 0 / 0.8988 GB, free: 10.07 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005015/0.9209, allocations: 1.649 MB / 0.9004 GB, free: 8.418 MB / 0.67 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.01102/0.932, allocations: 2.924 MB / 0.9033 GB, free: 5.473 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007943/0.9327, allocations: 320.3 kB / 0.9036 GB, free: 5.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/0.9328, allocations: 0 / 0.9036 GB, free: 5.16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000398/0.9332, allocations: 192.8 kB / 0.9037 GB, free: 4.969 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006607/0.9338, allocations: 67.88 kB / 0.9038 GB, free: 4.902 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.9406, allocations: 3.095 MB / 0.9068 GB, free: 1.688 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001682/0.9408, allocations: 160.7 kB / 0.907 GB, free: 1.512 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000635/0.9414, allocations: 405.2 kB / 0.9074 GB, free: 1.117 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.9416, allocations: 103.4 kB / 0.9075 GB, free: 1.02 MB / 0.67 GB Notification: Performance of SimCode: time 8.01e-07/0.9416, allocations: 0 / 0.9075 GB, free: 1.02 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1198/1.061, allocations: 61.65 MB / 0.9677 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/16.65, allocations: 13.73 kB / 0.9677 GB, free: 3.508 MB / 0.7325 GB " [Timeout remaining time 643] (rm -f IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamProperties.fmu > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.6458386790473] Failed to read output from testmodel.py, exit status != 0: 16.853250977932476 16.871219815 16.06016138 Calling exit ...