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.001081/0.001081, allocations: 92.22 kB / 19.65 MB, free: 280 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.001188/0.001188, allocations: 165 kB / 23.01 MB, free: 1.555 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.9653/0.9653, allocations: 177.1 MB / 203.4 MB, free: 5.188 MB / 186.7 MB " [Timeout remaining time 179] 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 0.8316/0.8316, allocations: 154.6 MB / 414.5 MB, free: 0.6289 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 179] 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 2.154e-06/2.154e-06, allocations: 0 / 0.5203 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.973e-05, allocations: 4.984 kB / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.1342/0.1342, allocations: 131.9 MB / 0.6491 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.1533, allocations: 22.31 MB / 0.6709 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1534, allocations: 0 / 0.6709 GB, free: 7.641 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.1537, allocations: 55.61 kB / 0.6709 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.154, allocations: 83.44 kB / 0.671 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01214/0.1661, allocations: 7.019 MB / 0.6779 GB, free: 476 kB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.1665, allocations: 255.8 kB / 0.6781 GB, free: 220 kB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.1665, allocations: 5.812 kB / 0.6781 GB, free: 216 kB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.1668, allocations: 187.4 kB / 0.6783 GB, free: 28 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.297/0.4638, allocations: 72.52 kB / 0.6784 GB, free: 50.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.4639, allocations: 9.344 kB / 0.6784 GB, free: 50.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01533/0.4792, allocations: 11.12 MB / 0.6892 GB, free: 50.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.4793, allocations: 40.33 kB / 0.6893 GB, free: 50.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.4795, allocations: 63.17 kB / 0.6893 GB, free: 50.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01526/0.4947, allocations: 8.368 MB / 0.6975 GB, free: 50.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4947, allocations: 0 / 0.6975 GB, free: 50.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4947, allocations: 0 / 0.6975 GB, free: 50.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.4947, allocations: 2.484 kB / 0.6975 GB, free: 50.81 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.003775/0.4985, allocations: 1.259 MB / 0.6987 GB, free: 50 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4986, allocations: 11.12 kB / 0.6987 GB, free: 50 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007443/0.4993, allocations: 151.3 kB / 0.6989 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.4995, allocations: 170.3 kB / 0.699 GB, free: 49.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.4996, allocations: 9.875 kB / 0.6991 GB, free: 49.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.4996, allocations: 21.19 kB / 0.6991 GB, free: 49.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009218/0.5005, allocations: 0.6361 MB / 0.6997 GB, free: 49.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5005, allocations: 6.125 kB / 0.6997 GB, free: 49.47 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.5005, allocations: 9.219 kB / 0.6997 GB, free: 49.47 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.5006, allocations: 5.875 kB / 0.6997 GB, free: 49.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007265/0.5013, allocations: 486.8 kB / 0.7002 GB, free: 49.47 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007429/0.502, allocations: 0.8771 MB / 0.701 GB, free: 48.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.5026, allocations: 263 kB / 0.7013 GB, free: 48.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.139e-05/0.5026, allocations: 57.28 kB / 0.7013 GB, free: 48.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04809/0.5507, allocations: 23.53 MB / 0.7243 GB, free: 47.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.5508, allocations: 42.5 kB / 0.7244 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/0.5508, allocations: 0 / 0.7244 GB, free: 46.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.001066/0.5518, allocations: 469.3 kB / 0.7248 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.5518, allocations: 54.38 kB / 0.7249 GB, free: 46.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.095e-05/0.5519, allocations: 185.6 kB / 0.725 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.5519, allocations: 32.11 kB / 0.7251 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.552, allocations: 162.9 kB / 0.7252 GB, free: 46.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.552, allocations: 89.69 kB / 0.7253 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.707e-05/0.5521, allocations: 84.19 kB / 0.7254 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.5522, allocations: 0.4955 MB / 0.7259 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.5523, allocations: 90.98 kB / 0.726 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.5524, allocations: 152.5 kB / 0.7261 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.5527, allocations: 253.2 kB / 0.7264 GB, free: 45.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5527, allocations: 4 kB / 0.7264 GB, free: 45.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004972/0.5532, allocations: 349.5 kB / 0.7267 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5532, allocations: 6.125 kB / 0.7267 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.5532, allocations: 2.625 kB / 0.7267 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5532, allocations: 3.031 kB / 0.7267 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.5534, allocations: 79.67 kB / 0.7268 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5534, allocations: 3.062 kB / 0.7268 GB, free: 45.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.5535, allocations: 21.5 kB / 0.7268 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.5535, allocations: 27.41 kB / 0.7268 GB, free: 45.71 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 7.403e-05/0.5536, allocations: 173.2 kB / 0.727 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.5537, allocations: 55.05 kB / 0.727 GB, free: 45.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00112/0.5548, allocations: 1.594 MB / 0.7286 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.5548, allocations: 14.98 kB / 0.7286 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5548, allocations: 0 / 0.7286 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5548, allocations: 3.094 kB / 0.7286 GB, free: 45.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.5563, allocations: 2.234 MB / 0.7308 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.5563, allocations: 0 / 0.7308 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.5564, allocations: 57.78 kB / 0.7309 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5564, allocations: 0 / 0.7309 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.5565, allocations: 8.562 kB / 0.7309 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5565, allocations: 0 / 0.7309 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5565, allocations: 2.562 kB / 0.7309 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004489/0.5569, allocations: 0.5342 MB / 0.7314 GB, free: 44.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.557, allocations: 59.75 kB / 0.7314 GB, free: 44.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.557, allocations: 7 kB / 0.7314 GB, free: 44.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.5571, allocations: 14.44 kB / 0.7315 GB, free: 44.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.292e-05/0.5571, allocations: 18.3 kB / 0.7315 GB, free: 44.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.5571, allocations: 15.94 kB / 0.7315 GB, free: 44.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.5572, allocations: 133.6 kB / 0.7316 GB, free: 44.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5572, allocations: 0 / 0.7316 GB, free: 44.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004149/0.5613, allocations: 1.724 MB / 0.7333 GB, free: 44.25 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.007082/0.5684, allocations: 2.207 MB / 0.7355 GB, free: 43.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000538/0.5689, allocations: 278.1 kB / 0.7357 GB, free: 43.83 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.569, allocations: 3.062 kB / 0.7357 GB, free: 43.83 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.5691, allocations: 160.4 kB / 0.7359 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.0004528/0.5696, allocations: 97.53 kB / 0.736 GB, free: 43.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.5707, allocations: 0.5582 MB / 0.7365 GB, free: 43.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.199e-05/0.5708, allocations: 99.41 kB / 0.7366 GB, free: 43.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004536/0.5713, allocations: 406.6 kB / 0.737 GB, free: 43.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.5714, allocations: 46 kB / 0.737 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of SimCode: time 1.362e-06/0.5714, allocations: 0 / 0.737 GB, free: 43.44 MB / 0.6355 GB Notification: Performance of Templates: time 0.06651/0.6379, allocations: 61.66 MB / 0.7973 GB, free: 0.7695 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.07339317118749]