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.0008718/0.0008718, 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.0008978/0.0008978, 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 0.984/0.984, allocations: 230.6 MB / 256 MB, free: 9.816 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.8053/0.8053, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.001542/0.001542, allocations: 62.09 kB / 0.7182 GB, free: 4.312 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5883, allocations: 102 MB / 0.8179 GB, free: 1.254 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1406/0.7289, allocations: 139.4 MB / 0.954 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02197/0.7509, allocations: 22.89 MB / 0.9764 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.7511, allocations: 0 / 0.9764 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.7515, allocations: 47.67 kB / 0.9764 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003366/0.7518, allocations: 95.42 kB / 0.9765 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01412/0.7659, allocations: 6.979 MB / 0.9833 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0004156/0.7663, allocations: 251.9 kB / 0.9835 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 5.634e-05/0.7664, allocations: 5.75 kB / 0.9836 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.7667, allocations: 155.4 kB / 0.9837 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.7668, allocations: 99.58 kB / 0.9838 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.7669, allocations: 8 kB / 0.9838 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01787/0.7847, allocations: 11.7 MB / 0.9952 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.7848, allocations: 35.89 kB / 0.9953 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.785, allocations: 79.66 kB / 0.9953 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.01506/0.8, allocations: 6.513 MB / 1.002 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.8, allocations: 0 / 1.002 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.765e-06/0.8, allocations: 0 / 1.002 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.8001, allocations: 0 / 1.002 GB, free: 9.211 MB / 0.7761 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.003629/0.8037, allocations: 1.171 MB / 1.003 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.8037, allocations: 8.031 kB / 1.003 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.8038, allocations: 50.73 kB / 1.003 GB, free: 7.938 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005895/0.8044, allocations: 88.75 kB / 1.003 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.8047, allocations: 170.3 kB / 1.003 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.8047, allocations: 11.94 kB / 1.003 GB, free: 7.648 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.8047, allocations: 16 kB / 1.003 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007575/0.8054, allocations: 476.7 kB / 1.004 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8055, allocations: 0 / 1.004 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.8055, allocations: 8 kB / 1.004 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.8055, allocations: 4 kB / 1.004 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007192/0.8062, allocations: 0.6205 MB / 1.004 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008292/0.807, allocations: 0.8579 MB / 1.005 GB, free: 5.578 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.8076, allocations: 234.3 kB / 1.005 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.509e-05/0.8077, allocations: 64.83 kB / 1.005 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04282/0.8505, allocations: 23.3 MB / 1.028 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.8505, allocations: 38.56 kB / 1.028 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.763e-06/0.8505, allocations: 0 / 1.028 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.00117/0.8517, allocations: 421.8 kB / 1.029 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.8517, allocations: 55.41 kB / 1.029 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.8518, allocations: 140 kB / 1.029 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.8519, allocations: 33.7 kB / 1.029 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.8519, allocations: 108.4 kB / 1.029 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.852, allocations: 91.2 kB / 1.029 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/0.852, allocations: 89.59 kB / 1.029 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.8521, allocations: 326.8 kB / 1.029 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.8523, allocations: 79.95 kB / 1.029 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.8524, allocations: 126.8 kB / 1.03 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.8527, allocations: 225.9 kB / 1.03 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8527, allocations: 0 / 1.03 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007719/0.8535, allocations: 301.2 kB / 1.03 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.8535, allocations: 8 kB / 1.03 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.8535, allocations: 4.156 kB / 1.03 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.8535, allocations: 4 kB / 1.03 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.8537, allocations: 79.88 kB / 1.03 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.8537, allocations: 4 kB / 1.03 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.364e-05/0.8538, allocations: 27.72 kB / 1.03 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.8538, allocations: 23.97 kB / 1.03 GB, free: 11.68 MB / 0.8073 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.916e-05/0.8539, allocations: 129.8 kB / 1.03 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.51e-05/0.854, allocations: 15.91 kB / 1.03 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.8557, allocations: 2.491 MB / 1.033 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.8557, allocations: 11.98 kB / 1.033 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8557, allocations: 0 / 1.033 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.8557, allocations: 7.922 kB / 1.033 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.8581, allocations: 3.594 MB / 1.036 GB, free: 5.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.8581, allocations: 7.984 kB / 1.036 GB, free: 5.301 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001387/0.8582, allocations: 51.89 kB / 1.036 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.8582, allocations: 7.938 kB / 1.036 GB, free: 5.242 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.8582, allocations: 4 kB / 1.036 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.8583, allocations: 8 kB / 1.036 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8583, allocations: 0 / 1.036 GB, free: 5.23 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008327/0.8591, allocations: 0.5622 MB / 1.037 GB, free: 4.652 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.8592, allocations: 59.64 kB / 1.037 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.8592, allocations: 15.92 kB / 1.037 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.8593, allocations: 8 kB / 1.037 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.8593, allocations: 15.97 kB / 1.037 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.8594, allocations: 19.98 kB / 1.037 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.8594, allocations: 105.3 kB / 1.037 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.8594, allocations: 0 / 1.037 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004223/0.8636, allocations: 1.715 MB / 1.039 GB, free: 2.715 MB / 0.8073 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.007114/0.8707, allocations: 2.961 MB / 1.042 GB, free: 15.72 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.8712, allocations: 316.3 kB / 1.042 GB, free: 15.41 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.8712, allocations: 4.312 kB / 1.042 GB, free: 15.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.8714, allocations: 197.5 kB / 1.042 GB, free: 15.21 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.8718, allocations: 62.89 kB / 1.042 GB, free: 15.15 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.8762, allocations: 3.098 MB / 1.045 GB, free: 11.95 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.8764, allocations: 0.7699 MB / 1.046 GB, free: 11.15 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003834/0.8768, allocations: 405.2 kB / 1.046 GB, free: 10.75 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.8769, allocations: 95.38 kB / 1.047 GB, free: 10.66 MB / 0.823 GB Notification: Performance of SimCode: time 1.272e-06/0.8769, allocations: 0 / 1.047 GB, free: 10.66 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09604/0.973, allocations: 63.79 MB / 1.109 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.472/10.44, allocations: 4.141 kB / 1.109 GB, free: 10.93 MB / 0.8855 GB " [Timeout remaining time 649] (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.604106658138335] Failed to read output from testmodel.py, exit status != 0: 10.566833293996751 10.580786941 9.777865872 Calling exit ...