Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.001212/0.001213, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001665/0.001665, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.547/2.547, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.32/1.32, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006389/0.0006392, allocations: 8.688 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.033, allocations: 81.58 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.008266/1.041, allocations: 3.389 MB / 0.5863 GB, free: 1.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002917/1.042, allocations: 123.8 kB / 0.5864 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.98e-05/1.042, allocations: 5 kB / 0.5864 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/1.042, allocations: 4.5 kB / 0.5864 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.882e-05/1.042, allocations: 10.27 kB / 0.5864 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/1.043, allocations: 64.61 kB / 0.5865 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/1.043, allocations: 19.28 kB / 0.5865 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.034e-05/1.043, allocations: 2.609 kB / 0.5865 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/1.043, allocations: 12.72 kB / 0.5865 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/1.043, allocations: 17.45 kB / 0.5865 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/1.043, allocations: 1.406 kB / 0.5865 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/1.043, allocations: 28.84 kB / 0.5865 GB, free: 1.375 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.079e-05/1.043, allocations: 8.891 kB / 0.5866 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/1.043, allocations: 31.86 kB / 0.5866 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/1.044, allocations: 27.89 kB / 0.5866 GB, free: 1.332 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.044, allocations: 0 / 0.5866 GB, free: 1.332 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.819e-06/1.044, allocations: 0.9062 kB / 0.5866 GB, free: 1.332 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/1.044, allocations: 0 / 0.5866 GB, free: 1.332 MB / 430.1 MB 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.0005328/1.044, allocations: 336.4 kB / 0.5869 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.133e-05/1.044, allocations: 14.64 kB / 0.5869 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/1.044, allocations: 31.62 kB / 0.587 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.391e-05/1.044, allocations: 6.234 kB / 0.587 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/1.045, allocations: 160.2 kB / 0.5871 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.852e-05/1.045, allocations: 29.11 kB / 0.5872 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/1.045, allocations: 1.031 kB / 0.5872 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/1.045, allocations: 52.66 kB / 0.5872 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.045, allocations: 4 kB / 0.5872 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/1.045, allocations: 0.6875 kB / 0.5872 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/1.045, allocations: 6.031 kB / 0.5872 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.754e-05/1.045, allocations: 16.47 kB / 0.5872 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006419/1.046, allocations: 332.6 kB / 0.5876 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.119e-05/1.046, allocations: 16.97 kB / 0.5876 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.795e-05/1.046, allocations: 92.16 kB / 0.5877 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/1.046, allocations: 36.44 kB / 0.5877 GB, free: 108 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/1.046, allocations: 0 / 0.5877 GB, free: 108 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002075/1.046, allocations: 40.67 kB / 0.5877 GB, free: 68 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/1.046, allocations: 53.31 kB / 0.5878 GB, free: 4 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/1.047, allocations: 102.5 kB / 0.5879 GB, free: 15.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/1.047, allocations: 25.7 kB / 0.5879 GB, free: 15.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.658e-05/1.047, allocations: 85.55 kB / 0.588 GB, free: 15.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.057e-06/1.047, allocations: 5.672 kB / 0.588 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/1.047, allocations: 4.656 kB / 0.588 GB, free: 15.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/1.047, allocations: 312.7 kB / 0.5883 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.364e-05/1.047, allocations: 3.203 kB / 0.5883 GB, free: 15.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.995e-05/1.047, allocations: 19.08 kB / 0.5883 GB, free: 15.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/1.047, allocations: 8.875 kB / 0.5883 GB, free: 15.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.047, allocations: 0 / 0.5883 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001234/1.047, allocations: 53.38 kB / 0.5884 GB, free: 15.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/1.047, allocations: 6.328 kB / 0.5884 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/1.047, allocations: 0 / 0.5884 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.93e-05/1.047, allocations: 5.391 kB / 0.5884 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/1.047, allocations: 9.609 kB / 0.5884 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/1.047, allocations: 1.266 kB / 0.5884 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.296e-05/1.047, allocations: 5 kB / 0.5884 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/1.047, allocations: 2.906 kB / 0.5884 GB, free: 15.39 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001396/1.048, allocations: 113.1 kB / 0.5885 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.151e-05/1.048, allocations: 6.359 kB / 0.5885 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001936/1.048, allocations: 121.6 kB / 0.5886 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/1.048, allocations: 182.4 kB / 0.5888 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001161/1.048, allocations: 185.8 kB / 0.589 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001251/1.048, allocations: 181.8 kB / 0.5892 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/1.049, allocations: 407.9 kB / 0.5896 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.702e-05/1.049, allocations: 103.1 kB / 0.5896 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.656e-05/1.049, allocations: 106.2 kB / 0.5898 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/1.049, allocations: 177.9 kB / 0.5899 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.049, allocations: 182.3 kB / 0.5901 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001408/1.049, allocations: 189.8 kB / 0.5903 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001617/1.05, allocations: 178.3 kB / 0.5904 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/1.05, allocations: 305.6 kB / 0.5907 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/1.05, allocations: 189 kB / 0.5909 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/1.05, allocations: 179.3 kB / 0.5911 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000325/1.051, allocations: 111.2 kB / 0.5912 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/1.051, allocations: 182.6 kB / 0.5914 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/1.051, allocations: 102.3 kB / 0.5915 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001018/1.051, allocations: 94 kB / 0.5916 GB, free: 12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.051, allocations: 0 / 0.5916 GB, free: 12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004181/1.051, allocations: 16.95 kB / 0.5916 GB, free: 12 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007573/1.052, allocations: 0.8184 MB / 0.5924 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/1.052, allocations: 7.422 kB / 0.5924 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.052, allocations: 0 / 0.5924 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/1.052, allocations: 5.094 kB / 0.5924 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/1.053, allocations: 0.529 MB / 0.5929 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/1.054, allocations: 220.2 kB / 0.5931 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/1.054, allocations: 0.678 MB / 0.5938 GB, free: 9.734 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.195e-05/1.054, allocations: 9.562 kB / 0.5938 GB, free: 9.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/1.054, allocations: 13.25 kB / 0.5938 GB, free: 9.719 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/1.054, allocations: 0 / 0.5938 GB, free: 9.719 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/1.076, allocations: 1.204 MB / 0.595 GB, free: 9.57 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003491/1.076, allocations: 182.2 kB / 0.5951 GB, free: 9.328 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/3.944, allocations: 0.7812 kB / 0.5951 GB, free: 9.328 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: