Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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: 99.7 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.001765/0.001765, allocations: 177.3 kB / 15.94 MB, free: 228 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.507/2.507, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.326/1.326, allocations: 132.2 MB / 423.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005446/0.0005449, allocations: 13.75 kB / 0.5033 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9102/0.9108, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006624/0.9175, allocations: 3.153 MB / 0.586 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002604/0.9178, allocations: 127.6 kB / 0.5862 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.126e-05/0.9179, allocations: 0 / 0.5862 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.9181, allocations: 5.953 kB / 0.5862 GB, free: 1.645 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.112e-05/0.9182, allocations: 6.359 kB / 0.5862 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004442/0.9186, allocations: 64.7 kB / 0.5862 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.9187, allocations: 19.19 kB / 0.5862 GB, free: 1.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.206e-05/0.9188, allocations: 5.031 kB / 0.5862 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.253e-05/0.9189, allocations: 18.55 kB / 0.5863 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.919, allocations: 5.609 kB / 0.5863 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.919, allocations: 1.062 kB / 0.5863 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000848/0.9199, allocations: 154.8 kB / 0.5864 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.834e-05/0.9199, allocations: 4.531 kB / 0.5864 GB, free: 1.527 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.92, allocations: 31.98 kB / 0.5865 GB, free: 1.492 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.9201, allocations: 27.97 kB / 0.5865 GB, free: 1.488 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9202, allocations: 0 / 0.5865 GB, free: 1.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.077e-06/0.9202, allocations: 4.938 kB / 0.5865 GB, free: 1.484 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.9202, allocations: 0 / 0.5865 GB, free: 1.484 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.0005153/0.9207, allocations: 329.1 kB / 0.5868 GB, free: 1.129 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.224e-05/0.9208, allocations: 8.984 kB / 0.5868 GB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.241e-05/0.9208, allocations: 31.34 kB / 0.5868 GB, free: 1.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.9209, allocations: 6.188 kB / 0.5868 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.921, allocations: 169.5 kB / 0.587 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.211e-05/0.9211, allocations: 28.14 kB / 0.587 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.9211, allocations: 9.953 kB / 0.587 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.9213, allocations: 39.78 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.9214, allocations: 0.8438 kB / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.9214, allocations: 0 / 0.5871 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.954e-05/0.9214, allocations: 6.203 kB / 0.5871 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.493e-05/0.9215, allocations: 20.72 kB / 0.5871 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.9221, allocations: 328.2 kB / 0.5874 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.222e-05/0.9222, allocations: 21.23 kB / 0.5874 GB, free: 420 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.394e-05/0.9223, allocations: 83.94 kB / 0.5875 GB, free: 324 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.9223, allocations: 31.97 kB / 0.5876 GB, free: 284 kB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 2.274e-06/0.9223, allocations: 0 / 0.5876 GB, free: 284 kB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001961/0.9225, allocations: 50 kB / 0.5876 GB, free: 236 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.9226, allocations: 51.97 kB / 0.5876 GB, free: 172 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.196e-05/0.9227, allocations: 114.1 kB / 0.5878 GB, free: 56 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.9227, allocations: 27.05 kB / 0.5878 GB, free: 24 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.9228, allocations: 81.89 kB / 0.5879 GB, free: 15.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.047e-06/0.9229, allocations: 4.812 kB / 0.5879 GB, free: 15.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.838e-06/0.9229, allocations: 0 / 0.5879 GB, free: 15.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.923, allocations: 313.5 kB / 0.5882 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.9231, allocations: 7.688 kB / 0.5882 GB, free: 15.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/0.9231, allocations: 14.3 kB / 0.5882 GB, free: 15.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.774e-05/0.9232, allocations: 13 kB / 0.5882 GB, free: 15.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9232, allocations: 0 / 0.5882 GB, free: 15.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.718e-05/0.9233, allocations: 46.67 kB / 0.5882 GB, free: 15.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.9233, allocations: 4.469 kB / 0.5882 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.9233, allocations: 2.016 kB / 0.5882 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.9233, allocations: 3.953 kB / 0.5883 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.9234, allocations: 6.625 kB / 0.5883 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.9234, allocations: 4.688 kB / 0.5883 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.647e-05/0.9235, allocations: 5.312 kB / 0.5883 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.9235, allocations: 5.797 kB / 0.5883 GB, free: 15.55 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.000123/0.9236, allocations: 112.7 kB / 0.5884 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.9236, allocations: 1.5 kB / 0.5884 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.9238, allocations: 119.1 kB / 0.5885 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001138/0.9239, allocations: 181.8 kB / 0.5887 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001056/0.9241, allocations: 190.2 kB / 0.5889 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.281e-05/0.9241, allocations: 177.7 kB / 0.589 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.9245, allocations: 408.3 kB / 0.5894 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.587e-05/0.9245, allocations: 105.6 kB / 0.5895 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.562e-05/0.9246, allocations: 110.7 kB / 0.5896 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.9247, allocations: 179.1 kB / 0.5898 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.9248, allocations: 189.6 kB / 0.59 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.297e-05/0.9249, allocations: 177.7 kB / 0.5901 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.34e-05/0.925, allocations: 178 kB / 0.5903 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.9252, allocations: 310.6 kB / 0.5906 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.9254, allocations: 188.5 kB / 0.5908 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.9255, allocations: 179.4 kB / 0.591 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.9257, allocations: 115.2 kB / 0.5911 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.9258, allocations: 182.1 kB / 0.5912 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/0.9259, allocations: 103.3 kB / 0.5913 GB, free: 12.24 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.854e-05/0.926, allocations: 89.33 kB / 0.5914 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.926, allocations: 4 kB / 0.5914 GB, free: 12.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003553/0.9264, allocations: 16.81 kB / 0.5914 GB, free: 12.15 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.0007237/0.9271, allocations: 0.8199 MB / 0.5922 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.9272, allocations: 6.516 kB / 0.5922 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9272, allocations: 5.375 kB / 0.5923 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-06/0.9272, allocations: 0 / 0.5923 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.9278, allocations: 0.5283 MB / 0.5928 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005588/0.9283, allocations: 225.8 kB / 0.593 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.9287, allocations: 0.6801 MB / 0.5936 GB, free: 9.883 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.536e-05/0.9288, allocations: 4.984 kB / 0.5937 GB, free: 9.883 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.9288, allocations: 10.84 kB / 0.5937 GB, free: 9.875 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.9288, allocations: 0 / 0.5937 GB, free: 9.875 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.9483, allocations: 1.22 MB / 0.5949 GB, free: 9.742 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003438/0.9488, allocations: 199.9 kB / 0.595 GB, free: 9.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.547, allocations: 0 / 0.595 GB, free: 9.5 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: