Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005318/0.005318, allocations: 99.77 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 193.8 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8175/0.8175, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 70.05 kB / 0.5857 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1573, allocations: 81.01 MB / 0.6648 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamDerivativeCheck): time 0.002388/0.1598, allocations: 1.27 MB / 0.6661 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5303/0.6901, allocations: 137.7 MB / 0.8006 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.17e-05/0.6902, allocations: 0 / 0.8006 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.06e-05/0.6902, allocations: 0 / 0.8006 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.6904, allocations: 7.766 kB / 0.8006 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.692, allocations: 461.4 kB / 0.801 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.6921, allocations: 36.84 kB / 0.801 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.6922, allocations: 6.312 kB / 0.801 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.733e-05/0.6922, allocations: 24.45 kB / 0.8011 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.865e-05/0.6923, allocations: 20.41 kB / 0.8011 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.6923, allocations: 2.469 kB / 0.8011 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.6939, allocations: 0.8293 MB / 0.8019 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.6939, allocations: 9.359 kB / 0.8019 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.694, allocations: 19.33 kB / 0.8019 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006672/0.6946, allocations: 448.5 kB / 0.8024 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6947, allocations: 4 kB / 0.8024 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.522e-06/0.6947, allocations: 0 / 0.8024 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.6947, allocations: 0 / 0.8024 GB, free: 12.04 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005897/0.6953, allocations: 374.3 kB / 0.8027 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.6953, allocations: 9.547 kB / 0.8027 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.6954, allocations: 32.84 kB / 0.8028 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.6956, allocations: 18.61 kB / 0.8028 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.6957, allocations: 166.3 kB / 0.8029 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.6958, allocations: 8.125 kB / 0.8029 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.6958, allocations: 10.66 kB / 0.8029 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.696, allocations: 56.3 kB / 0.803 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.696, allocations: 0 / 0.803 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.696, allocations: 1.406 kB / 0.803 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.696, allocations: 1.031 kB / 0.803 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.6961, allocations: 17.34 kB / 0.803 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002015/0.6963, allocations: 166.6 kB / 0.8032 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.6964, allocations: 52.41 kB / 0.8032 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.784e-05/0.6965, allocations: 24.95 kB / 0.8033 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.7077, allocations: 3.212 MB / 0.8064 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.7078, allocations: 35.97 kB / 0.8064 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.7078, allocations: 1.281 kB / 0.8064 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.03996/0.7478, allocations: 15 MB / 0.8211 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.7479, allocations: 57.16 kB / 0.8211 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.531e-05/0.7479, allocations: 93.84 kB / 0.8212 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.748, allocations: 31.55 kB / 0.8213 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.998e-05/0.748, allocations: 80.14 kB / 0.8213 GB, free: 5.156 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.7481, allocations: 48.53 kB / 0.8214 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.7481, allocations: 30.22 kB / 0.8214 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7483, allocations: 322.1 kB / 0.8217 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.323e-05/0.7484, allocations: 22.89 kB / 0.8217 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.926e-05/0.7484, allocations: 22.31 kB / 0.8218 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.7485, allocations: 70.22 kB / 0.8218 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7486, allocations: 0 / 0.8218 GB, free: 4.758 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002131/0.7488, allocations: 103.6 kB / 0.8219 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.7488, allocations: 8.484 kB / 0.8219 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.7488, allocations: 4 kB / 0.8219 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.7488, allocations: 2.781 kB / 0.8219 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.7489, allocations: 21.25 kB / 0.822 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.749, allocations: 1.781 kB / 0.822 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.749, allocations: 0 / 0.822 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.749, allocations: 10.67 kB / 0.822 GB, free: 4.703 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (14): * Single equations (assignments): 14 * 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.674e-05/0.7491, allocations: 119.8 kB / 0.8221 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.029e-05/0.7492, allocations: 4.938 kB / 0.8221 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002611/0.7494, allocations: 127.6 kB / 0.8222 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7494, allocations: 0 / 0.8222 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7494, allocations: 0 / 0.8222 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.7495, allocations: 2.094 kB / 0.8222 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.7496, allocations: 177.2 kB / 0.8224 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.7496, allocations: 0 / 0.8224 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.7498, allocations: 31.42 kB / 0.8224 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.7498, allocations: 6.75 kB / 0.8224 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7498, allocations: 0 / 0.8224 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.7498, allocations: 0 / 0.8224 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7498, allocations: 2.094 kB / 0.8224 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.7501, allocations: 156.5 kB / 0.8226 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-05/0.7502, allocations: 90.7 kB / 0.8227 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.7502, allocations: 2.406 kB / 0.8227 GB, free: 4.117 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.7504, allocations: 19.42 kB / 0.8227 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.461e-05/0.7504, allocations: 12.23 kB / 0.8227 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.7504, allocations: 6.562 kB / 0.8227 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.087e-05/0.7505, allocations: 78.06 kB / 0.8228 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7505, allocations: 0 / 0.8228 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002147/0.7526, allocations: 0.5674 MB / 0.8233 GB, free: 3.566 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.004053/0.7567, allocations: 0.9436 MB / 0.8242 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.7569, allocations: 65.66 kB / 0.8243 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.757, allocations: 0 / 0.8243 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 6.846e-05/0.757, allocations: 39.23 kB / 0.8243 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002/0.7572, allocations: 7.25 kB / 0.8243 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.7596, allocations: 1.554 MB / 0.8259 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.7599, allocations: 0.6807 MB / 0.8265 GB, free: 328 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 8.714e-05/0.76, allocations: 28.53 kB / 0.8266 GB, free: 300 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.7601, allocations: 22.31 kB / 0.8266 GB, free: 284 kB / 0.5919 GB Notification: Performance of SimCode: time 6.62e-07/0.7601, allocations: 4 kB / 0.8266 GB, free: 280 kB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/0.8977, allocations: 25.43 MB / 0.8514 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.338/10.24, allocations: 10.45 kB / 0.8514 GB, free: 6.871 MB / 0.6231 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 IDEAS_dev_IDEAS_Media_Examples_SteamDerivativeCheck.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamDerivativeCheck.pipe 2>&1)