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.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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",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.007674/0.007674, allocations: 99.84 kB / 15.73 MB, free: 6.016 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.001885/0.001885, allocations: 204.5 kB / 16.68 MB, free: 5.934 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9066/0.9066, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 59.91 kB / 0.5851 GB, free: 3.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4752/0.4774, allocations: 80.92 MB / 0.6641 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1541/0.6315, allocations: 135.4 MB / 0.7964 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.000183/0.6318, allocations: 59.84 kB / 0.7965 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.6318, allocations: 4 kB / 0.7965 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.6319, allocations: 0 / 0.7965 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.993e-05/0.6321, allocations: 15.86 kB / 0.7965 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009412/0.633, allocations: 250.9 kB / 0.7967 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.6331, allocations: 35.91 kB / 0.7967 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.773e-05/0.6332, allocations: 0 / 0.7967 GB, free: 9.324 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.6332, allocations: 19.92 kB / 0.7968 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.6333, allocations: 7.984 kB / 0.7968 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.6333, allocations: 3.938 kB / 0.7968 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005667/0.6339, allocations: 247.4 kB / 0.797 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.634, allocations: 3.984 kB / 0.797 GB, free: 9.047 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.634, allocations: 16 kB / 0.797 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.6345, allocations: 189.9 kB / 0.7972 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6345, allocations: 3.984 kB / 0.7972 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6345, allocations: 0 / 0.7972 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.6345, allocations: 0 / 0.7972 GB, free: 8.844 MB / 0.6231 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.0004409/0.635, allocations: 351.5 kB / 0.7975 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.635, allocations: 8.031 kB / 0.7976 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.6351, allocations: 42.67 kB / 0.7976 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.6351, allocations: 0.9375 kB / 0.7976 GB, free: 8.395 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.6353, allocations: 160.4 kB / 0.7978 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/0.6353, allocations: 38.02 kB / 0.7978 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.6354, allocations: 0 / 0.7978 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.6355, allocations: 45.67 kB / 0.7978 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.6355, allocations: 0 / 0.7978 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.6355, allocations: 4 kB / 0.7978 GB, free: 8.102 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.6356, allocations: 3.938 kB / 0.7978 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.688e-05/0.6356, allocations: 19.97 kB / 0.7979 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008042/0.6364, allocations: 0.6027 MB / 0.7984 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 3.947e-05/0.6365, allocations: 18.58 kB / 0.7985 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.6365, allocations: 4.859 kB / 0.7985 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.6367, allocations: 340.5 kB / 0.7988 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.6367, allocations: 34.56 kB / 0.7988 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.6367, allocations: 0 / 0.7988 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.6369, allocations: 41.64 kB / 0.7989 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.6369, allocations: 51.41 kB / 0.7989 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.856e-05/0.637, allocations: 101.8 kB / 0.799 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.637, allocations: 25.7 kB / 0.799 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.6371, allocations: 88.05 kB / 0.7991 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/0.6371, allocations: 3.938 kB / 0.7991 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.6371, allocations: 25.64 kB / 0.7991 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.6373, allocations: 318.9 kB / 0.7995 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.723e-05/0.6373, allocations: 4 kB / 0.7995 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.6373, allocations: 21.7 kB / 0.7995 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.6373, allocations: 17.66 kB / 0.7995 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6374, allocations: 0 / 0.7995 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.204e-05/0.6374, allocations: 53.59 kB / 0.7995 GB, free: 6.059 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.6375, allocations: 8.062 kB / 0.7996 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6375, allocations: 0 / 0.7996 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.6375, allocations: 0 / 0.7996 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.895e-05/0.6375, allocations: 11.94 kB / 0.7996 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6376, allocations: 0 / 0.7996 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.6376, allocations: 3.938 kB / 0.7996 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.6376, allocations: 4 kB / 0.7996 GB, free: 6.031 MB / 0.6231 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 6.678e-05/0.6377, allocations: 113.8 kB / 0.7997 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.6377, allocations: 0 / 0.7997 GB, free: 5.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.6378, allocations: 117 kB / 0.7998 GB, free: 5.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.271e-05/0.6379, allocations: 180.2 kB / 0.8 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.073e-05/0.6379, allocations: 188.2 kB / 0.8001 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.415e-05/0.638, allocations: 188.1 kB / 0.8003 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.6382, allocations: 405.2 kB / 0.8007 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/0.6382, allocations: 105 kB / 0.8008 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.209e-05/0.6383, allocations: 104.9 kB / 0.8009 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.06e-05/0.6383, allocations: 180.3 kB / 0.8011 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/0.6384, allocations: 188.2 kB / 0.8013 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.948e-05/0.6385, allocations: 180.2 kB / 0.8014 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.067e-05/0.6385, allocations: 180.3 kB / 0.8016 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.6387, allocations: 307.7 kB / 0.8019 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.6387, allocations: 190.2 kB / 0.8021 GB, free: 3.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.6388, allocations: 180.2 kB / 0.8023 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.639, allocations: 113 kB / 0.8024 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.135e-05/0.639, allocations: 188.2 kB / 0.8025 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.6391, allocations: 104.9 kB / 0.8026 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.6391, allocations: 79.28 kB / 0.8027 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6391, allocations: 0 / 0.8027 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003127/0.6394, allocations: 63.92 kB / 0.8028 GB, free: 2.527 MB / 0.6231 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.000549/0.64, allocations: 0.8804 MB / 0.8036 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 7.141e-05/0.6401, allocations: 16 kB / 0.8037 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6401, allocations: 0 / 0.8037 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.6401, allocations: 3.938 kB / 0.8037 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.6405, allocations: 466 kB / 0.8041 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.6415, allocations: 1.344 MB / 0.8054 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002141/0.6417, allocations: 0.6768 MB / 0.8061 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.673e-05/0.6417, allocations: 4 kB / 0.8061 GB, free: 15 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.6418, allocations: 11.42 kB / 0.8061 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of SimCode: time 3.21e-07/0.6418, allocations: 0 / 0.8061 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.6593, allocations: 2.204 MB / 0.8082 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.31/7.97, allocations: 9.516 kB / 0.8082 GB, free: 12.87 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)