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.001062/0.001062, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001053/0.001053, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.302/1.302, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7603/0.7603, allocations: 132.2 MB / 422.1 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 60.64 kB / 0.5012 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4141, allocations: 80.21 MB / 0.5795 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004992/0.4192, allocations: 4.057 MB / 0.5835 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002008/0.4194, allocations: 158.4 kB / 0.5836 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.4194, allocations: 0 / 0.5836 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.65e-05/0.4196, allocations: 5.359 kB / 0.5836 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.304e-05/0.4196, allocations: 6.781 kB / 0.5836 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.4199, allocations: 80.81 kB / 0.5837 GB, free: 1.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.075e-05/0.42, allocations: 59.3 kB / 0.5837 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.4201, allocations: 0.6094 kB / 0.5837 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.4201, allocations: 19.59 kB / 0.5838 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.4202, allocations: 13.03 kB / 0.5838 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.4202, allocations: 0.875 kB / 0.5838 GB, free: 1.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.4204, allocations: 72.67 kB / 0.5838 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/0.4205, allocations: 4.906 kB / 0.5839 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.4205, allocations: 22.47 kB / 0.5839 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.4206, allocations: 51.33 kB / 0.5839 GB, free: 1.371 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4207, allocations: 0 / 0.5839 GB, free: 1.371 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4207, allocations: 0.8125 kB / 0.5839 GB, free: 1.371 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.4207, allocations: 3.938 kB / 0.5839 GB, free: 1.367 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.0003138/0.421, allocations: 339.4 kB / 0.5843 GB, free: 1.008 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.421, allocations: 8.969 kB / 0.5843 GB, free: 1.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.105e-05/0.4211, allocations: 36.52 kB / 0.5843 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.4211, allocations: 1.781 kB / 0.5843 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.161e-05/0.4212, allocations: 163.3 kB / 0.5845 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.746e-05/0.4213, allocations: 32.72 kB / 0.5845 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.4213, allocations: 5.594 kB / 0.5845 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.4214, allocations: 44.89 kB / 0.5845 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.4214, allocations: 0 / 0.5845 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4214, allocations: 1.125 kB / 0.5845 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.4215, allocations: 5.812 kB / 0.5845 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.25e-05/0.4215, allocations: 12.67 kB / 0.5846 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.4218, allocations: 344 kB / 0.5849 GB, free: 320 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.065e-05/0.4219, allocations: 17.25 kB / 0.5849 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.4219, allocations: 6.328 kB / 0.5849 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/0.422, allocations: 88.36 kB / 0.585 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.422, allocations: 35.84 kB / 0.585 GB, free: 144 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.422, allocations: 0 / 0.585 GB, free: 144 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001264/0.4221, allocations: 33.62 kB / 0.5851 GB, free: 112 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.4222, allocations: 56.66 kB / 0.5851 GB, free: 44 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.4223, allocations: 102.1 kB / 0.5852 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.4223, allocations: 27.12 kB / 0.5852 GB, free: 15.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.24e-05/0.4223, allocations: 85.61 kB / 0.5853 GB, free: 15.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.4223, allocations: 1.062 kB / 0.5853 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.4224, allocations: 19.11 kB / 0.5853 GB, free: 15.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4225, allocations: 317.3 kB / 0.5856 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.4225, allocations: 7.438 kB / 0.5856 GB, free: 15.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.4226, allocations: 22.53 kB / 0.5857 GB, free: 15.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.4226, allocations: 16.66 kB / 0.5857 GB, free: 15.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4226, allocations: 1.375 kB / 0.5857 GB, free: 15.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.928e-05/0.4227, allocations: 49.17 kB / 0.5857 GB, free: 15.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4227, allocations: 5.875 kB / 0.5857 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4228, allocations: 4.859 kB / 0.5857 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4228, allocations: 5.375 kB / 0.5857 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.374e-05/0.4228, allocations: 4.734 kB / 0.5857 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.4228, allocations: 1.484 kB / 0.5857 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.4229, allocations: 9.094 kB / 0.5858 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4229, allocations: 7.062 kB / 0.5858 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/0.423, allocations: 116.1 kB / 0.5859 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.423, allocations: 0.9688 kB / 0.5859 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.4231, allocations: 122.9 kB / 0.586 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.849e-05/0.4232, allocations: 181.8 kB / 0.5862 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-05/0.4233, allocations: 177.8 kB / 0.5863 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.368e-05/0.4233, allocations: 182.6 kB / 0.5865 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/0.4236, allocations: 411.4 kB / 0.5869 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/0.4236, allocations: 111.1 kB / 0.587 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.238e-05/0.4237, allocations: 102.8 kB / 0.5871 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.695e-05/0.4238, allocations: 182 kB / 0.5873 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.034e-05/0.4238, allocations: 181.1 kB / 0.5875 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.259e-05/0.4239, allocations: 178.4 kB / 0.5876 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.554e-05/0.424, allocations: 182.1 kB / 0.5878 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.4241, allocations: 314.4 kB / 0.5881 GB, free: 12.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.4242, allocations: 180.5 kB / 0.5883 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.4243, allocations: 178.2 kB / 0.5884 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.4244, allocations: 114.9 kB / 0.5885 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.4245, allocations: 181.1 kB / 0.5887 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.4246, allocations: 106.9 kB / 0.5888 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.199e-05/0.4246, allocations: 82.7 kB / 0.5889 GB, free: 12.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4246, allocations: 0 / 0.5889 GB, free: 12.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.4249, allocations: 20.33 kB / 0.5889 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 (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.0005642/0.4255, allocations: 0.8327 MB / 0.5897 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.256e-05/0.4255, allocations: 12.42 kB / 0.5897 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4255, allocations: 0 / 0.5897 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.4256, allocations: 1.375 kB / 0.5897 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.0004282/0.426, allocations: 0.533 MB / 0.5903 GB, free: 10.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.4272, allocations: 1.313 MB / 0.5915 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.4275, allocations: 0.6741 MB / 0.5922 GB, free: 8.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.698e-05/0.4275, allocations: 16.48 kB / 0.5922 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.4275, allocations: 9.75 kB / 0.5922 GB, free: 8.605 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4276, allocations: 0 / 0.5922 GB, free: 8.605 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/0.5911, allocations: 1.351 MB / 0.5936 GB, free: 8.363 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003445/0.5915, allocations: 204.1 kB / 0.5937 GB, free: 8.109 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.522, allocations: 0.5938 kB / 0.5937 GB, free: 8.109 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/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)