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.007308/0.007308, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001912/0.001912, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9429/0.9429, allocations: 135.6 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001875, allocations: 71.89 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4215, allocations: 81.02 MB / 0.6648 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1588/0.5802, allocations: 135.4 MB / 0.7971 GB, free: 8.98 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.5805, allocations: 67.83 kB / 0.7972 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.827e-05/0.5806, allocations: 0 / 0.7972 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.5807, allocations: 7.766 kB / 0.7972 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.115e-05/0.5808, allocations: 11.97 kB / 0.7972 GB, free: 8.898 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000866/0.5816, allocations: 246.9 kB / 0.7974 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.223e-05/0.5817, allocations: 27.91 kB / 0.7974 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 3.407e-05/0.5818, allocations: 0 / 0.7974 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 4.337e-05/0.5818, allocations: 23.92 kB / 0.7975 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.5819, allocations: 11.92 kB / 0.7975 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.5819, allocations: 0 / 0.7975 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005425/0.5825, allocations: 251.4 kB / 0.7977 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.5825, allocations: 7.984 kB / 0.7977 GB, free: 8.34 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.5826, allocations: 7.984 kB / 0.7977 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.5829, allocations: 184.5 kB / 0.7979 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5829, allocations: 0 / 0.7979 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.518e-06/0.583, allocations: 3.984 kB / 0.7979 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.583, allocations: 0 / 0.7979 GB, free: 8.152 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.0004907/0.5835, allocations: 355.2 kB / 0.7982 GB, free: 7.758 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5835, allocations: 8.031 kB / 0.7982 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.731e-05/0.5836, allocations: 46.67 kB / 0.7983 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.5836, allocations: 4.891 kB / 0.7983 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.5837, allocations: 164.3 kB / 0.7985 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.169e-05/0.5838, allocations: 38.02 kB / 0.7985 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-06/0.5838, allocations: 3.938 kB / 0.7985 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.584, allocations: 49.66 kB / 0.7985 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.584, allocations: 3.938 kB / 0.7985 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.584, allocations: 4 kB / 0.7985 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/0.5841, allocations: 0 / 0.7985 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.5841, allocations: 11.98 kB / 0.7986 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008558/0.585, allocations: 0.6028 MB / 0.7991 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 4.012e-05/0.585, allocations: 18.58 kB / 0.7992 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.585, allocations: 4.859 kB / 0.7992 GB, free: 6.609 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.5853, allocations: 336.5 kB / 0.7995 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.5854, allocations: 30.56 kB / 0.7995 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5854, allocations: 0 / 0.7995 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of matching and sorting (n=1): time 0.0001554/0.5855, allocations: 45.64 kB / 0.7996 GB, free: 6.117 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.5856, allocations: 51.41 kB / 0.7996 GB, free: 6.055 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.883e-05/0.5857, allocations: 97.84 kB / 0.7997 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.5857, allocations: 29.7 kB / 0.7997 GB, free: 5.914 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.5858, allocations: 88.09 kB / 0.7998 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/0.5858, allocations: 3.953 kB / 0.7998 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.5858, allocations: 17.7 kB / 0.7998 GB, free: 5.797 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.586, allocations: 322.9 kB / 0.8001 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.67e-05/0.586, allocations: 4 kB / 0.8002 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-05/0.5861, allocations: 17.7 kB / 0.8002 GB, free: 5.445 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.5861, allocations: 21.66 kB / 0.8002 GB, free: 5.418 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.5861, allocations: 4 kB / 0.8002 GB, free: 5.414 MB / 0.6231 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.758e-05/0.5862, allocations: 45.69 kB / 0.8002 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.5862, allocations: 8.062 kB / 0.8002 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.5862, allocations: 0 / 0.8002 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5862, allocations: 0 / 0.8002 GB, free: 5.355 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.527e-05/0.5863, allocations: 11.94 kB / 0.8003 GB, free: 5.344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.5863, allocations: 3.984 kB / 0.8003 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.169e-05/0.5863, allocations: 7.938 kB / 0.8003 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.5864, allocations: 4 kB / 0.8003 GB, free: 5.328 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 8.923e-05/0.5864, allocations: 105.8 kB / 0.8004 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.5865, allocations: 7.938 kB / 0.8004 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.5866, allocations: 121 kB / 0.8005 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.091e-05/0.5867, allocations: 188.4 kB / 0.8007 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.733e-05/0.5868, allocations: 176.3 kB / 0.8008 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9e-05/0.5869, allocations: 192.1 kB / 0.801 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.5872, allocations: 413.1 kB / 0.8014 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/0.5872, allocations: 105 kB / 0.8015 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.5873, allocations: 104.9 kB / 0.8016 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.672e-05/0.5874, allocations: 180.3 kB / 0.8018 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/0.5875, allocations: 188.2 kB / 0.802 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.79e-05/0.5876, allocations: 180.2 kB / 0.8021 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-05/0.5877, allocations: 180.3 kB / 0.8023 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.5879, allocations: 307.7 kB / 0.8026 GB, free: 2.766 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.5881, allocations: 190.2 kB / 0.8028 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.5882, allocations: 176.3 kB / 0.803 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.5884, allocations: 109 kB / 0.8031 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5885, allocations: 188.2 kB / 0.8032 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-05/0.5885, allocations: 104.9 kB / 0.8033 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.868e-05/0.5886, allocations: 87.28 kB / 0.8034 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5886, allocations: 0 / 0.8034 GB, free: 1.875 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003779/0.589, allocations: 55.8 kB / 0.8035 GB, free: 1.82 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.0007373/0.5897, allocations: 0.8787 MB / 0.8043 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 9.052e-05/0.5898, allocations: 16.06 kB / 0.8043 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5898, allocations: 0 / 0.8043 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.5899, allocations: 3.938 kB / 0.8044 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.5904, allocations: 477.5 kB / 0.8048 GB, free: 432 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.5917, allocations: 1.344 MB / 0.8061 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.5921, allocations: 0.6729 MB / 0.8068 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 3.689e-05/0.5921, allocations: 4 kB / 0.8068 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.5921, allocations: 11.44 kB / 0.8068 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.5921, allocations: 0 / 0.8068 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1462/0.7384, allocations: 2.21 MB / 0.809 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.666/9.404, allocations: 4.594 kB / 0.809 GB, free: 12.16 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)