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.001495/0.001495, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001789/0.001789, allocations: 165.6 kB / 22.46 MB, free: 5.363 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.476/1.476, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.228/1.228, allocations: 154.6 MB / 413.8 MB, free: 5.238 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.009e-05/3.188e-05, allocations: 5.531 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.638/0.6381, allocations: 119.6 MB / 0.7354 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.6657, allocations: 20.24 MB / 0.7552 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002975/0.666, allocations: 1.094 kB / 0.7552 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000353/0.6663, allocations: 44.47 kB / 0.7552 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004351/0.6668, allocations: 102.5 kB / 0.7553 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02598/0.6927, allocations: 7.005 MB / 0.7622 GB, free: 252 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005356/0.6933, allocations: 259.1 kB / 0.7624 GB, free: 116 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.998e-05/0.6933, allocations: 13.48 kB / 0.7624 GB, free: 112 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/0.6938, allocations: 183 kB / 0.7626 GB, free: 16 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.694, allocations: 79.09 kB / 0.7627 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.694, allocations: 7.906 kB / 0.7627 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02859/0.7226, allocations: 11.13 MB / 0.7736 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.7228, allocations: 41.05 kB / 0.7736 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.723, allocations: 60.02 kB / 0.7737 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0253/0.7483, allocations: 8.371 MB / 0.7818 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.7483, allocations: 0 / 0.7818 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7483, allocations: 0 / 0.7818 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.372e-05/0.7483, allocations: 0 / 0.7818 GB, free: 4.938 MB / 0.6231 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.005814/0.7541, allocations: 1.163 MB / 0.783 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.7542, allocations: 7.938 kB / 0.783 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00113/0.7553, allocations: 84.72 kB / 0.7831 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.7557, allocations: 177.3 kB / 0.7832 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.7557, allocations: 16.03 kB / 0.7832 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.7557, allocations: 12.53 kB / 0.7832 GB, free: 3.883 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.7571, allocations: 0.6785 MB / 0.7839 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7571, allocations: 0 / 0.7839 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.7572, allocations: 6.562 kB / 0.7839 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.7572, allocations: 8.859 kB / 0.7839 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.7584, allocations: 0.6057 MB / 0.7845 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.7596, allocations: 0.691 MB / 0.7852 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.7604, allocations: 229.6 kB / 0.7854 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.7605, allocations: 66.33 kB / 0.7855 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08683/0.8473, allocations: 23.36 MB / 0.8083 GB, free: 0.8242 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.8474, allocations: 42.5 kB / 0.8083 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.274e-06/0.8474, allocations: 0 / 0.8083 GB, free: 0.7734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.001879/0.8493, allocations: 416.9 kB / 0.8087 GB, free: 372 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.8493, allocations: 55.41 kB / 0.8088 GB, free: 304 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.8495, allocations: 137.2 kB / 0.8089 GB, free: 160 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.8495, allocations: 33.7 kB / 0.8089 GB, free: 120 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.8496, allocations: 108.6 kB / 0.809 GB, free: 8 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.8497, allocations: 85.5 kB / 0.8091 GB, free: 15.92 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.8499, allocations: 77.66 kB / 0.8092 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001962/0.8501, allocations: 326.8 kB / 0.8095 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.8503, allocations: 83.95 kB / 0.8096 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.8506, allocations: 134.3 kB / 0.8097 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005306/0.8511, allocations: 217 kB / 0.8099 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8511, allocations: 0 / 0.8099 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008103/0.8519, allocations: 302.6 kB / 0.8102 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.8519, allocations: 8 kB / 0.8102 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8519, allocations: 0 / 0.8102 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.852, allocations: 7.984 kB / 0.8102 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.8523, allocations: 75.89 kB / 0.8103 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.8523, allocations: 7.984 kB / 0.8103 GB, free: 14.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.8524, allocations: 16.77 kB / 0.8103 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.805e-05/0.8525, allocations: 19.98 kB / 0.8103 GB, free: 14.62 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.0001592/0.8527, allocations: 131.9 kB / 0.8105 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.8528, allocations: 19.84 kB / 0.8105 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/0.8557, allocations: 2.497 MB / 0.8129 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.8558, allocations: 15.98 kB / 0.8129 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8558, allocations: 3.938 kB / 0.8129 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.8558, allocations: 3.984 kB / 0.813 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.8597, allocations: 3.529 MB / 0.8164 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.8597, allocations: 2.312 kB / 0.8164 GB, free: 8.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.8599, allocations: 55.89 kB / 0.8165 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.8599, allocations: 4 kB / 0.8165 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.86, allocations: 8 kB / 0.8165 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.86, allocations: 7.938 kB / 0.8165 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.86, allocations: 0 / 0.8165 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008837/0.8609, allocations: 0.5627 MB / 0.817 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.861, allocations: 63.56 kB / 0.8171 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.288e-05/0.861, allocations: 8 kB / 0.8171 GB, free: 7.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.8612, allocations: 8 kB / 0.8171 GB, free: 7.594 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.8613, allocations: 23.95 kB / 0.8171 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/0.8613, allocations: 12 kB / 0.8171 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 7.311e-05/0.8614, allocations: 95.27 kB / 0.8172 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.8614, allocations: 0 / 0.8172 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.006222/0.8676, allocations: 1.711 MB / 0.8189 GB, free: 5.75 MB / 0.6544 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.01173/0.8793, allocations: 2.207 MB / 0.821 GB, free: 3.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009293/0.8803, allocations: 329 kB / 0.8214 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.8803, allocations: 0 / 0.8214 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.8806, allocations: 193.2 kB / 0.8215 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.8812, allocations: 60.36 kB / 0.8216 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.8824, allocations: 0.6136 MB / 0.8222 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.8826, allocations: 156.7 kB / 0.8224 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000577/0.8832, allocations: 400.8 kB / 0.8227 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001565/0.8833, allocations: 48.47 kB / 0.8228 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.8833, allocations: 0 / 0.8228 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of Templates: time 0.08619/0.9695, allocations: 59.44 MB / 0.8808 GB, free: 6.438 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.025049354881048] Failed to read output from testmodel.py, exit status != 0: 0.9795144535601139 0.993343567 0.241890611 Calling exit ...