Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001312/0.001312, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.001458/0.001458, allocations: 160 kB / 22.46 MB, free: 5.375 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.496/1.496, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.189/1.189, allocations: 154.6 MB / 413.8 MB, free: 5.223 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6185 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/2.901e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005812/0.005841, allocations: 3.918 MB / 0.6224 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.006056, allocations: 139.5 kB / 0.6225 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.006086, allocations: 4 kB / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.006192, allocations: 0 / 0.6225 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.006272, allocations: 11.92 kB / 0.6225 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.006649, allocations: 91.56 kB / 0.6226 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.801e-05/0.006747, allocations: 35.84 kB / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.006796, allocations: 0 / 0.6226 GB, free: 388 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.375e-05/0.00686, allocations: 19.97 kB / 0.6227 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.331e-05/0.006943, allocations: 15.98 kB / 0.6227 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.006959, allocations: 4 kB / 0.6227 GB, free: 348 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.007162, allocations: 55.73 kB / 0.6227 GB, free: 292 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.007211, allocations: 4 kB / 0.6227 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.942e-05/0.007241, allocations: 11.98 kB / 0.6227 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.007404, allocations: 67.73 kB / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.007408, allocations: 0 / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of FrontEnd: time 9.42e-07/0.007409, allocations: 0 / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.007414, allocations: 0 / 0.6228 GB, free: 208 kB / 0.5294 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.0004516/0.007865, allocations: 262.3 kB / 0.6231 GB, free: 15.92 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.007922, allocations: 8.031 kB / 0.6231 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.007962, allocations: 4.938 kB / 0.6231 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.008072, allocations: 109.8 kB / 0.6232 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.928e-05/0.008152, allocations: 51.97 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.008167, allocations: 4.375 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.008333, allocations: 67.95 kB / 0.6233 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.008343, allocations: 192 / 0.6233 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.008359, allocations: 3.938 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.008379, allocations: 4 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.008434, allocations: 19.92 kB / 0.6233 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.008858, allocations: 200.5 kB / 0.6235 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.073e-05/0.008919, allocations: 26.61 kB / 0.6235 GB, free: 15.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.169e-05/0.008941, allocations: 12.86 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.221e-05/0.008993, allocations: 4 kB / 0.6236 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.009025, allocations: 34.56 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.203e-06/0.009026, allocations: 7.875 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000156/0.009182, allocations: 37.62 kB / 0.6236 GB, free: 15.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.009223, allocations: 51.41 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.837e-05/0.009321, allocations: 101.9 kB / 0.6238 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.009339, allocations: 25.7 kB / 0.6238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.009397, allocations: 96.2 kB / 0.6239 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.009414, allocations: 15.88 kB / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.009447, allocations: 13.72 kB / 0.6239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.009587, allocations: 314.8 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.009604, allocations: 4 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.009632, allocations: 17.7 kB / 0.6242 GB, free: 14.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.968e-05/0.009671, allocations: 21.66 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.009673, allocations: 0 / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.295e-05/0.009756, allocations: 53.69 kB / 0.6243 GB, free: 14.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.009771, allocations: 13.97 kB / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-06/0.009775, allocations: 0 / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.00979, allocations: 0 / 0.6243 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/0.009838, allocations: 8 kB / 0.6243 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.009843, allocations: 0 / 0.6243 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.00986, allocations: 0 / 0.6243 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.693e-05/0.009877, allocations: 4 kB / 0.6243 GB, free: 14.44 MB / 0.545 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 8.583e-05/0.009963, allocations: 110.8 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.93e-05/0.009992, allocations: 3.938 kB / 0.6244 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.01012, allocations: 121 kB / 0.6246 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.263e-05/0.0102, allocations: 192.2 kB / 0.6247 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.431e-05/0.01029, allocations: 176.3 kB / 0.6249 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.84e-05/0.01037, allocations: 180.2 kB / 0.6251 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.01061, allocations: 360.8 kB / 0.6254 GB, free: 13.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.535e-05/0.01067, allocations: 105 kB / 0.6255 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.858e-05/0.01072, allocations: 104.9 kB / 0.6256 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.522e-05/0.0108, allocations: 180.2 kB / 0.6258 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.869e-05/0.01089, allocations: 184.2 kB / 0.626 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.091e-05/0.01097, allocations: 184.3 kB / 0.6262 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-05/0.01105, allocations: 184.2 kB / 0.6263 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01122, allocations: 304.1 kB / 0.6266 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.01128, allocations: 108.9 kB / 0.6267 GB, free: 11.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.01138, allocations: 196.2 kB / 0.6269 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.01154, allocations: 104.9 kB / 0.627 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.01163, allocations: 184.5 kB / 0.6272 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/0.01168, allocations: 105 kB / 0.6273 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.657e-05/0.01174, allocations: 87.27 kB / 0.6274 GB, free: 11.15 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01174, allocations: 4 kB / 0.6274 GB, free: 11.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002506/0.01199, allocations: 15.94 kB / 0.6274 GB, free: 11.13 MB / 0.545 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.0002339/0.01222, allocations: 190.5 kB / 0.6276 GB, free: 10.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.183e-05/0.01229, allocations: 15.92 kB / 0.6276 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.0123, allocations: 0 / 0.6276 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.0123, allocations: 0 / 0.6276 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004997/0.0128, allocations: 462.2 kB / 0.628 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.01311, allocations: 184.2 kB / 0.6282 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.131e-05/0.01317, allocations: 55.36 kB / 0.6283 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.172e-05/0.01321, allocations: 12.11 kB / 0.6283 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.257e-05/0.01323, allocations: 8.5 kB / 0.6283 GB, free: 10.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.01323, allocations: 0 / 0.6283 GB, free: 10.16 MB / 0.545 GB Notification: Performance of Templates: time 0.00338/0.01661, allocations: 0.6504 MB / 0.6289 GB, free: 9.52 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.969814110547304] Failed to read output from testmodel.py, exit status != 0: 0.025180213153362274 0.039395883 0.028994614000000002 Calling exit ...