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.001575/0.001575, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 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.001975/0.001975, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.505/1.505, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 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-545:108: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-545:116: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.218/1.218, allocations: 154.6 MB / 414.1 MB, free: 0.6445 MB / 378.7 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 5.119e-06/5.119e-06, allocations: 4 kB / 0.5196 GB, free: 2.602 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.929e-05/3.44e-05, allocations: 4.281 kB / 0.5196 GB, free: 2.598 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007544/0.007578, allocations: 3.897 MB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0002656/0.007844, allocations: 141.1 kB / 0.5235 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.007876, allocations: 0 / 0.5235 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.008002, allocations: 4.594 kB / 0.5235 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.413e-05/0.008096, allocations: 15.91 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.008522, allocations: 86.66 kB / 0.5236 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.008646, allocations: 39.84 kB / 0.5237 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.008688, allocations: 3.984 kB / 0.5237 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 6.441e-05/0.008753, allocations: 15.98 kB / 0.5237 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.008843, allocations: 12.98 kB / 0.5237 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.008862, allocations: 4 kB / 0.5237 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.009103, allocations: 57.17 kB / 0.5238 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.009157, allocations: 7.984 kB / 0.5238 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.296e-05/0.00919, allocations: 7.938 kB / 0.5238 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.009391, allocations: 67.8 kB / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.009395, allocations: 0.7812 kB / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.272e-06/0.009396, allocations: 0 / 0.5238 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.0094, allocations: 0.8125 kB / 0.5238 GB, free: 14.25 MB / 0.4948 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.0005092/0.009909, allocations: 254.3 kB / 0.5241 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.009952, allocations: 13.53 kB / 0.5241 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.01001, allocations: 0.9375 kB / 0.5241 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.01018, allocations: 109.8 kB / 0.5242 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.391e-05/0.01027, allocations: 51.97 kB / 0.5243 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.01029, allocations: 4.938 kB / 0.5243 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.01048, allocations: 76.89 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.01049, allocations: 192 / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.01051, allocations: 3.938 kB / 0.5243 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.01053, allocations: 4.5 kB / 0.5243 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.0106, allocations: 20.58 kB / 0.5244 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.01112, allocations: 200.6 kB / 0.5245 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.838e-05/0.01118, allocations: 19.2 kB / 0.5246 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.987e-05/0.01121, allocations: 17.58 kB / 0.5246 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.463e-05/0.01127, allocations: 5.094 kB / 0.5246 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.01132, allocations: 34.56 kB / 0.5246 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.01132, allocations: 0 / 0.5246 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0002005/0.01152, allocations: 39.41 kB / 0.5247 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.01156, allocations: 51.41 kB / 0.5247 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.0117, allocations: 109.8 kB / 0.5248 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.01172, allocations: 25.7 kB / 0.5248 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.0118, allocations: 97.06 kB / 0.5249 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.585e-06/0.01181, allocations: 3.953 kB / 0.5249 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.01185, allocations: 13.72 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001873/0.01204, allocations: 320 kB / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.01206, allocations: 4 kB / 0.5253 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.01209, allocations: 13.72 kB / 0.5253 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.232e-05/0.01213, allocations: 24.91 kB / 0.5253 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.01214, allocations: 4 kB / 0.5253 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.643e-05/0.01223, allocations: 53.56 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01225, allocations: 4 kB / 0.5254 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.01225, allocations: 0 / 0.5254 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.01228, allocations: 4 kB / 0.5254 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.01233, allocations: 11.02 kB / 0.5254 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01234, allocations: 0 / 0.5254 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.01236, allocations: 0 / 0.5254 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.01237, allocations: 4 kB / 0.5254 GB, free: 12.5 MB / 0.4948 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 0.0001007/0.01247, allocations: 105.8 kB / 0.5255 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.01251, allocations: 7.938 kB / 0.5255 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000179/0.01269, allocations: 130.3 kB / 0.5256 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001047/0.01279, allocations: 176.3 kB / 0.5258 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001084/0.0129, allocations: 180.3 kB / 0.5259 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001048/0.013, allocations: 184.2 kB / 0.5261 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.01329, allocations: 358.1 kB / 0.5265 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.587e-05/0.01335, allocations: 104.9 kB / 0.5266 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.264e-05/0.01342, allocations: 101 kB / 0.5267 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/0.01354, allocations: 188.1 kB / 0.5268 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.01364, allocations: 184.8 kB / 0.527 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.812e-05/0.01374, allocations: 180.9 kB / 0.5272 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.925e-05/0.01384, allocations: 184.2 kB / 0.5274 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.01404, allocations: 300.3 kB / 0.5276 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.0141, allocations: 115.7 kB / 0.5278 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.01422, allocations: 180.3 kB / 0.5279 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.0144, allocations: 108.9 kB / 0.528 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.01451, allocations: 180.2 kB / 0.5282 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.802e-05/0.01457, allocations: 108.9 kB / 0.5283 GB, free: 9.316 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.01463, allocations: 87.28 kB / 0.5284 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01463, allocations: 0 / 0.5284 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002495/0.01488, allocations: 15.94 kB / 0.5284 GB, free: 9.215 MB / 0.4948 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.0002398/0.01512, allocations: 196.9 kB / 0.5286 GB, free: 9.016 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.811e-05/0.0152, allocations: 8.312 kB / 0.5286 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.0152, allocations: 0 / 0.5286 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.0152, allocations: 0 / 0.5286 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.01578, allocations: 480.4 kB / 0.5291 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.0161, allocations: 172 kB / 0.5292 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.194e-05/0.01618, allocations: 60.84 kB / 0.5293 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.239e-05/0.01622, allocations: 8.969 kB / 0.5293 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.01625, allocations: 8.5 kB / 0.5293 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of SimCode: time 4.31e-07/0.01625, allocations: 0 / 0.5293 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.003315/0.01956, allocations: 0.6767 MB / 0.53 GB, free: 7.609 MB / 0.4948 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.971538087935187]