Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.0009146/0.0009146, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001452/0.001452, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9283/0.9283, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.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-535:34: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-535:42: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.7521/0.7521, allocations: 154.9 MB / 415.1 MB, free: 200 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 480.3 MB, free: 6.559 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.34e-05, allocations: 5.453 kB / 480.3 MB, free: 6.555 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1221/0.1221, allocations: 130.6 MB / 0.5966 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0001601/0.1223, allocations: 47.8 kB / 0.5967 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.1223, allocations: 0 / 0.5967 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001206/0.1224, allocations: 11.94 kB / 0.5967 GB, free: 3.816 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.1225, allocations: 11.86 kB / 0.5967 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007543/0.1233, allocations: 258.8 kB / 0.5969 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.369e-05/0.1233, allocations: 39.84 kB / 0.597 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.1234, allocations: 7.922 kB / 0.597 GB, free: 3.504 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.999e-05/0.1234, allocations: 19.97 kB / 0.597 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.1235, allocations: 8 kB / 0.597 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.1235, allocations: 0 / 0.597 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003153/0.1238, allocations: 187.4 kB / 0.5972 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.1239, allocations: 11.98 kB / 0.5972 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.1239, allocations: 11.92 kB / 0.5972 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.1241, allocations: 171.6 kB / 0.5974 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1241, allocations: 0 / 0.5974 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1241, allocations: 0 / 0.5974 GB, free: 3.102 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.726e-06/0.1241, allocations: 0 / 0.5974 GB, free: 3.102 MB / 0.5573 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.0002831/0.1244, allocations: 259.5 kB / 0.5976 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.1245, allocations: 16.03 kB / 0.5976 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.1245, allocations: 0.9375 kB / 0.5976 GB, free: 2.812 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.1246, allocations: 113.7 kB / 0.5977 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.1246, allocations: 55.95 kB / 0.5978 GB, free: 2.609 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.1246, allocations: 8.375 kB / 0.5978 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003306/0.125, allocations: 87.22 kB / 0.5979 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.125, allocations: 0 / 0.5979 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.125, allocations: 0 / 0.5979 GB, free: 2.5 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.125, allocations: 4 kB / 0.5979 GB, free: 2.496 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.125, allocations: 7.938 kB / 0.5979 GB, free: 2.488 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.1254, allocations: 218.1 kB / 0.5981 GB, free: 2.262 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 2.949e-05/0.1254, allocations: 18.58 kB / 0.5981 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.608e-06/0.1254, allocations: 4.859 kB / 0.5981 GB, free: 2.227 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.1255, allocations: 36.02 kB / 0.5982 GB, free: 2.191 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.1255, allocations: 38.5 kB / 0.5982 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1255, allocations: 0 / 0.5982 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 8.57e-05/0.1256, allocations: 29.7 kB / 0.5982 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.1256, allocations: 55.52 kB / 0.5983 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.567e-05/0.1256, allocations: 114.6 kB / 0.5984 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.1257, allocations: 25.7 kB / 0.5984 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.1257, allocations: 84.09 kB / 0.5985 GB, free: 1.801 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.599e-06/0.1257, allocations: 3.938 kB / 0.5985 GB, free: 1.797 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.838e-05/0.1257, allocations: 21.7 kB / 0.5985 GB, free: 1.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.1258, allocations: 314.8 kB / 0.5988 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.821e-06/0.1258, allocations: 0 / 0.5988 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.1258, allocations: 21.69 kB / 0.5988 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.1258, allocations: 20.48 kB / 0.5989 GB, free: 1.398 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1258, allocations: 8 kB / 0.5989 GB, free: 1.391 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.529e-05/0.1259, allocations: 45.56 kB / 0.5989 GB, free: 1.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1259, allocations: 4 kB / 0.5989 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1259, allocations: 0 / 0.5989 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.1259, allocations: 4 kB / 0.5989 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.07e-05/0.126, allocations: 4 kB / 0.5989 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.126, allocations: 0 / 0.5989 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.126, allocations: 0 / 0.5989 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.126, allocations: 4 kB / 0.5989 GB, free: 1.324 MB / 0.5573 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 5.292e-05/0.126, allocations: 120.7 kB / 0.599 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.1261, allocations: 7.938 kB / 0.599 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.422e-05/0.1261, allocations: 120.1 kB / 0.5992 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/0.1262, allocations: 184.2 kB / 0.5993 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.699e-05/0.1262, allocations: 176.3 kB / 0.5995 GB, free: 0.6953 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.221e-05/0.1263, allocations: 184.2 kB / 0.5997 GB, free: 0.5078 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1264, allocations: 317.5 kB / 0.6 GB, free: 176 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/0.1264, allocations: 108.9 kB / 0.6001 GB, free: 60 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.1265, allocations: 101.1 kB / 0.6002 GB, free: 15.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.072e-05/0.1265, allocations: 184.3 kB / 0.6004 GB, free: 15.77 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.1266, allocations: 192.1 kB / 0.6005 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.914e-05/0.1266, allocations: 180.3 kB / 0.6007 GB, free: 15.39 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.352e-05/0.1266, allocations: 188.2 kB / 0.6009 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.473e-05/0.1267, allocations: 308 kB / 0.6012 GB, free: 14.87 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.1268, allocations: 101 kB / 0.6013 GB, free: 14.77 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.1268, allocations: 188.2 kB / 0.6015 GB, free: 14.57 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.957e-05/0.1269, allocations: 112.9 kB / 0.6016 GB, free: 14.46 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.127, allocations: 176.3 kB / 0.6017 GB, free: 14.28 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.127, allocations: 108.9 kB / 0.6018 GB, free: 14.16 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.755e-05/0.127, allocations: 12.84 kB / 0.6019 GB, free: 14.15 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.127, allocations: 4 kB / 0.6019 GB, free: 14.14 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002591/0.1273, allocations: 59.75 kB / 0.6019 GB, free: 14.09 MB / 0.573 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.0002442/0.1275, allocations: 227.4 kB / 0.6021 GB, free: 13.85 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 4.816e-05/0.1276, allocations: 20.84 kB / 0.6022 GB, free: 13.83 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1276, allocations: 4.125 kB / 0.6022 GB, free: 13.82 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-06/0.1276, allocations: 0 / 0.6022 GB, free: 13.82 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.1278, allocations: 459.6 kB / 0.6026 GB, free: 13.37 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.1282, allocations: 193 kB / 0.6028 GB, free: 13.16 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.1282, allocations: 55.34 kB / 0.6028 GB, free: 13.09 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 2.59e-05/0.1282, allocations: 8 kB / 0.6028 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.466e-05/0.1283, allocations: 59.36 kB / 0.6029 GB, free: 13.02 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/0.1283, allocations: 0 / 0.6029 GB, free: 13.02 MB / 0.573 GB Notification: Performance of Templates: time 0.003117/0.1314, allocations: 1.433 MB / 0.6043 GB, free: 11.59 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.66726679680869]