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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") translateModel(IDEAS.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002233/0.002233, allocations: 182 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9124/0.9124, allocations: 133.4 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 222.9 MB / 404.7 MB, free: 6.031 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 99.73 kB / 485.9 MB, free: 7.156 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001008, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.154, allocations: 80.43 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamProperties): time 0.4786/0.6326, allocations: 134 MB / 0.773 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02741/0.6601, allocations: 24.64 MB / 0.7971 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.6603, allocations: 0 / 0.7971 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002988/0.6607, allocations: 39.78 kB / 0.7971 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.661, allocations: 83.5 kB / 0.7972 GB, free: 2.277 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.01645/0.6775, allocations: 5.292 MB / 0.8024 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0004618/0.6779, allocations: 311.8 kB / 0.8027 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 7.031e-05/0.678, allocations: 13.56 kB / 0.8027 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.6784, allocations: 131.5 kB / 0.8028 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.6786, allocations: 91.66 kB / 0.8029 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.6786, allocations: 8 kB / 0.8029 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01945/0.6981, allocations: 10.85 MB / 0.8135 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.6983, allocations: 43.83 kB / 0.8135 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.6984, allocations: 87.64 kB / 0.8136 GB, free: 1.469 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01508/0.7135, allocations: 6.187 MB / 0.8197 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.7136, allocations: 0 / 0.8197 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7136, allocations: 0 / 0.8197 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.7136, allocations: 0 / 0.8197 GB, free: 11.27 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003454/0.7171, allocations: 1.182 MB / 0.8208 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 7.495e-05/0.7172, allocations: 12.03 kB / 0.8208 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.7183, allocations: 88.66 kB / 0.8209 GB, free: 9.941 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.7186, allocations: 228 kB / 0.8211 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.7186, allocations: 16.12 kB / 0.8212 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.7186, allocations: 15.94 kB / 0.8212 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.7197, allocations: 457.1 kB / 0.8216 GB, free: 9.184 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.7198, allocations: 0 / 0.8216 GB, free: 9.184 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.7198, allocations: 8 kB / 0.8216 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.7198, allocations: 4 kB / 0.8216 GB, free: 9.172 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.721, allocations: 0.5976 MB / 0.8222 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.7221, allocations: 0.8782 MB / 0.8231 GB, free: 7.609 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007729/0.7228, allocations: 257.9 kB / 0.8233 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.723, allocations: 77.27 kB / 0.8234 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08637/0.8093, allocations: 35.05 MB / 0.8576 GB, free: 1.125 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.8094, allocations: 42.5 kB / 0.8576 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=25): time 1.974e-06/0.8094, allocations: 0 / 0.8576 GB, free: 1.074 MB / 0.5886 GB Notification: Performance of matching and sorting (n=25): time 0.0017/0.8111, allocations: 413.4 kB / 0.858 GB, free: 0.6641 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.8112, allocations: 55.41 kB / 0.8581 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.8114, allocations: 144.5 kB / 0.8582 GB, free: 460 kB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.8114, allocations: 33.7 kB / 0.8583 GB, free: 420 kB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.8115, allocations: 108.4 kB / 0.8584 GB, free: 308 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.704e-05/0.8116, allocations: 86.75 kB / 0.8584 GB, free: 220 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.8117, allocations: 69.67 kB / 0.8585 GB, free: 144 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.8118, allocations: 334.8 kB / 0.8588 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.812, allocations: 83.95 kB / 0.8589 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.8123, allocations: 133 kB / 0.859 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.8127, allocations: 217 kB / 0.8592 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.8127, allocations: 4 kB / 0.8593 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007128/0.8134, allocations: 298.1 kB / 0.8595 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.8134, allocations: 8 kB / 0.8595 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8135, allocations: 0 / 0.8595 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.8135, allocations: 7 kB / 0.8596 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.8138, allocations: 79.88 kB / 0.8596 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.8138, allocations: 4 kB / 0.8596 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.814, allocations: 23.73 kB / 0.8597 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.814, allocations: 36.08 kB / 0.8597 GB, free: 14.89 MB / 0.6042 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 0.0001268/0.8142, allocations: 121.8 kB / 0.8598 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.8143, allocations: 19.84 kB / 0.8598 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/0.8167, allocations: 2.35 MB / 0.8621 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.8167, allocations: 11.98 kB / 0.8621 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.8167, allocations: 3.938 kB / 0.8621 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.8168, allocations: 3.984 kB / 0.8621 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/0.82, allocations: 3.424 MB / 0.8655 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.82, allocations: 0 / 0.8655 GB, free: 8.836 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000256/0.8202, allocations: 59.89 kB / 0.8655 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8203, allocations: 0 / 0.8655 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.8203, allocations: 11.94 kB / 0.8655 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.8203, allocations: 4 kB / 0.8656 GB, free: 8.762 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8203, allocations: 3.984 kB / 0.8656 GB, free: 8.758 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.8218, allocations: 1.368 MB / 0.8669 GB, free: 7.332 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.8219, allocations: 140.6 kB / 0.867 GB, free: 7.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.822, allocations: 4 kB / 0.867 GB, free: 7.172 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.8222, allocations: 15.98 kB / 0.867 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/0.8222, allocations: 15.98 kB / 0.8671 GB, free: 7.141 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.05e-05/0.8223, allocations: 15.98 kB / 0.8671 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.301e-05/0.8224, allocations: 104.2 kB / 0.8672 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8224, allocations: 0 / 0.8672 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004636/0.827, allocations: 1.659 MB / 0.8688 GB, free: 5.363 MB / 0.6042 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.008694/0.8357, allocations: 1.9 MB / 0.8707 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007966/0.8366, allocations: 332.5 kB / 0.871 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8366, allocations: 0 / 0.871 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.8369, allocations: 237.2 kB / 0.8712 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.8376, allocations: 64.2 kB / 0.8713 GB, free: 2.836 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.8392, allocations: 1.096 MB / 0.8723 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.8395, allocations: 0.7817 MB / 0.8731 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005516/0.8401, allocations: 413 kB / 0.8735 GB, free: 500 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.8402, allocations: 43.41 kB / 0.8735 GB, free: 460 kB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.8402, allocations: 0 / 0.8735 GB, free: 460 kB / 0.6042 GB Notification: Performance of Templates: time 0.07156/0.9118, allocations: 57.2 MB / 0.9294 GB, free: 7.199 MB / 0.6667 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.SteamProperties.makefile (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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.SteamProperties.pipe 2>&1)