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.001118/0.001118, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001048/0.001048, allocations: 177.3 kB / 23.49 MB, free: 1.055 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.9702/0.9702, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.7876/0.7876, allocations: 154.8 MB / 415.1 MB, free: 492 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.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0 / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.506e-05, allocations: 5.25 kB / 0.5206 GB, free: 2.246 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1347/0.1348, allocations: 131.6 MB / 0.6491 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01975/0.1545, allocations: 22.26 MB / 0.6708 GB, free: 8.039 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.1547, allocations: 4 kB / 0.6708 GB, free: 8.035 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.155, allocations: 47.67 kB / 0.6709 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1553, allocations: 91.36 kB / 0.671 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01454/0.1698, allocations: 7.002 MB / 0.6778 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000418/0.1703, allocations: 263.8 kB / 0.678 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.1703, allocations: 5.812 kB / 0.678 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.1707, allocations: 175.4 kB / 0.6782 GB, free: 444 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.1708, allocations: 83.75 kB / 0.6783 GB, free: 360 kB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1708, allocations: 12 kB / 0.6783 GB, free: 348 kB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.316/0.4868, allocations: 11.12 MB / 0.6892 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.487, allocations: 42.22 kB / 0.6892 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.4872, allocations: 65.42 kB / 0.6893 GB, free: 50.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0168/0.504, allocations: 8.363 MB / 0.6974 GB, free: 50.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.504, allocations: 0 / 0.6974 GB, free: 50.83 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/0.504, allocations: 3.375 kB / 0.6974 GB, free: 50.83 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.504, allocations: 0 / 0.6974 GB, free: 50.83 MB / 0.6355 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.004989/0.509, allocations: 1.261 MB / 0.6987 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.509, allocations: 8.75 kB / 0.6987 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008066/0.5098, allocations: 150.2 kB / 0.6988 GB, free: 49.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.5101, allocations: 174.3 kB / 0.699 GB, free: 49.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.5101, allocations: 14.56 kB / 0.699 GB, free: 49.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.5101, allocations: 18.41 kB / 0.699 GB, free: 49.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.511, allocations: 0.6294 MB / 0.6996 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.511, allocations: 10.78 kB / 0.6996 GB, free: 49.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.511, allocations: 9.688 kB / 0.6997 GB, free: 49.49 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.511, allocations: 4.75 kB / 0.6997 GB, free: 49.49 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007787/0.5118, allocations: 486 kB / 0.7001 GB, free: 49.49 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.5126, allocations: 0.8669 MB / 0.701 GB, free: 48.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005782/0.5132, allocations: 266.6 kB / 0.7012 GB, free: 48.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.5133, allocations: 59.72 kB / 0.7013 GB, free: 48.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04885/0.5621, allocations: 23.54 MB / 0.7243 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.5622, allocations: 40.14 kB / 0.7243 GB, free: 47 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 1.864e-06/0.5622, allocations: 0 / 0.7243 GB, free: 47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001385/0.5636, allocations: 466.6 kB / 0.7247 GB, free: 46.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.5636, allocations: 56.62 kB / 0.7248 GB, free: 46.87 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.5637, allocations: 180.7 kB / 0.725 GB, free: 46.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.5637, allocations: 32.11 kB / 0.725 GB, free: 46.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.5638, allocations: 159.5 kB / 0.7252 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.5638, allocations: 101.3 kB / 0.7253 GB, free: 46.46 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/0.5639, allocations: 83.47 kB / 0.7253 GB, free: 46.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.564, allocations: 0.4951 MB / 0.7258 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.5641, allocations: 89.33 kB / 0.7259 GB, free: 45.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.5643, allocations: 151.6 kB / 0.726 GB, free: 45.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.5646, allocations: 251.6 kB / 0.7263 GB, free: 45.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5646, allocations: 5.094 kB / 0.7263 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006508/0.5653, allocations: 347.5 kB / 0.7266 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5653, allocations: 5.375 kB / 0.7266 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.5653, allocations: 2.562 kB / 0.7266 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.5653, allocations: 3.156 kB / 0.7266 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.5655, allocations: 81.2 kB / 0.7267 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.5655, allocations: 3.438 kB / 0.7267 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.5657, allocations: 22.88 kB / 0.7267 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.5657, allocations: 27.45 kB / 0.7268 GB, free: 45.72 MB / 0.6355 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.77e-05/0.5658, allocations: 172.9 kB / 0.7269 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001899/0.566, allocations: 50.23 kB / 0.727 GB, free: 45.53 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.5674, allocations: 1.597 MB / 0.7285 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.5674, allocations: 12.38 kB / 0.7285 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5674, allocations: 0 / 0.7285 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.5674, allocations: 4.922 kB / 0.7286 GB, free: 45.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.5692, allocations: 2.229 MB / 0.7307 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.5692, allocations: 2.906 kB / 0.7307 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.5694, allocations: 57.67 kB / 0.7308 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.5694, allocations: 0 / 0.7308 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.5694, allocations: 15.73 kB / 0.7308 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5694, allocations: 2.812 kB / 0.7308 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5694, allocations: 0 / 0.7308 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005732/0.57, allocations: 0.528 MB / 0.7313 GB, free: 44.64 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.5701, allocations: 60.59 kB / 0.7314 GB, free: 44.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.5701, allocations: 5.688 kB / 0.7314 GB, free: 44.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.5702, allocations: 16.61 kB / 0.7314 GB, free: 44.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.5703, allocations: 18.28 kB / 0.7314 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.233e-05/0.5703, allocations: 12.53 kB / 0.7314 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.073e-05/0.5703, allocations: 137 kB / 0.7316 GB, free: 44.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5703, allocations: 0 / 0.7316 GB, free: 44.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004667/0.575, allocations: 1.722 MB / 0.7332 GB, free: 44.26 MB / 0.6355 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.008878/0.5839, allocations: 2.21 MB / 0.7354 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005733/0.5845, allocations: 281.8 kB / 0.7357 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5845, allocations: 0 / 0.7357 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.5847, allocations: 162.7 kB / 0.7358 GB, free: 43.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000569/0.5852, allocations: 91.47 kB / 0.7359 GB, free: 43.81 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.5864, allocations: 0.5697 MB / 0.7365 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.216e-05/0.5865, allocations: 97.27 kB / 0.7366 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004105/0.5869, allocations: 403.8 kB / 0.7369 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.587, allocations: 51.2 kB / 0.737 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/0.587, allocations: 0 / 0.737 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.05683/0.6438, allocations: 61.66 MB / 0.7972 GB, free: 0.957 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Examples.SteamProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.1498069919180125]