Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.001118/0.001118, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8727/0.8727, allocations: 135.1 MB / 425.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 65.38 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1257, allocations: 80.92 MB / 0.5845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004382/0.1301, allocations: 3.714 MB / 0.5881 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001506/0.1303, allocations: 151.5 kB / 0.5882 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.547e-05/0.1303, allocations: 0 / 0.5882 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.544e-05/0.1304, allocations: 4 kB / 0.5882 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.1305, allocations: 15.91 kB / 0.5882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.1307, allocations: 90.81 kB / 0.5883 GB, free: 496 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.864e-05/0.1308, allocations: 31.84 kB / 0.5884 GB, free: 464 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.828e-05/0.1308, allocations: 4 kB / 0.5884 GB, free: 460 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.109e-05/0.1309, allocations: 19.92 kB / 0.5884 GB, free: 440 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.038e-05/0.1309, allocations: 11.98 kB / 0.5884 GB, free: 428 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.878e-06/0.1309, allocations: 0 / 0.5884 GB, free: 428 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004176/0.1314, allocations: 187.4 kB / 0.5886 GB, free: 240 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.1314, allocations: 11.94 kB / 0.5886 GB, free: 228 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.1314, allocations: 11.97 kB / 0.5886 GB, free: 216 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.1315, allocations: 44.12 kB / 0.5886 GB, free: 172 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1315, allocations: 0 / 0.5886 GB, free: 172 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1316, allocations: 0 / 0.5886 GB, free: 172 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.1316, allocations: 0 / 0.5886 GB, free: 172 kB / 494.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.0003044/0.1319, allocations: 339.5 kB / 0.589 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.1319, allocations: 8.031 kB / 0.589 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.524e-05/0.1319, allocations: 38.75 kB / 0.589 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.132, allocations: 0.9375 kB / 0.589 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.708e-05/0.1321, allocations: 168.3 kB / 0.5892 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-05/0.1321, allocations: 34.2 kB / 0.5892 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-06/0.1321, allocations: 4.125 kB / 0.5892 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.1322, allocations: 49.67 kB / 0.5893 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.1323, allocations: 0 / 0.5893 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.1323, allocations: 0 / 0.5893 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1323, allocations: 4 kB / 0.5893 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.522e-05/0.1323, allocations: 15.98 kB / 0.5893 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.1327, allocations: 337.9 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.42e-05/0.1327, allocations: 22.52 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.173e-05/0.1327, allocations: 4.859 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/0.1328, allocations: 89.09 kB / 0.5897 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.1328, allocations: 34.56 kB / 0.5897 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1328, allocations: 4 kB / 0.5897 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001073/0.1329, allocations: 33.7 kB / 0.5898 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.133, allocations: 55.34 kB / 0.5898 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.285e-05/0.133, allocations: 105.8 kB / 0.5899 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1331, allocations: 25.7 kB / 0.59 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.1331, allocations: 91.98 kB / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-06/0.1331, allocations: 0 / 0.59 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.1331, allocations: 21.83 kB / 0.5901 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.1332, allocations: 322.8 kB / 0.5904 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.1332, allocations: 0 / 0.5904 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.16e-05/0.1333, allocations: 21.7 kB / 0.5904 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.726e-05/0.1333, allocations: 21.72 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1333, allocations: 4 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.606e-05/0.1334, allocations: 49.62 kB / 0.5905 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.1334, allocations: 4 kB / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1334, allocations: 4 kB / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.1334, allocations: 0 / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.309e-05/0.1334, allocations: 4 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.1335, allocations: 0 / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.696e-05/0.1335, allocations: 7.906 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1335, allocations: 0 / 0.5905 GB, free: 14 MB / 0.4981 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 5.636e-05/0.1335, allocations: 121.8 kB / 0.5906 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1336, allocations: 4 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.299e-05/0.1337, allocations: 117 kB / 0.5907 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/0.1337, allocations: 180.2 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-05/0.1338, allocations: 180.2 kB / 0.5911 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.586e-05/0.1338, allocations: 176.3 kB / 0.5912 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000178/0.134, allocations: 417.1 kB / 0.5916 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/0.134, allocations: 101 kB / 0.5917 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.785e-05/0.1341, allocations: 108.9 kB / 0.5918 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-05/0.1341, allocations: 176.3 kB / 0.592 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.1341, allocations: 180.3 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.46e-05/0.1342, allocations: 188.2 kB / 0.5923 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.342e-05/0.1342, allocations: 180.3 kB / 0.5925 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.769e-05/0.1343, allocations: 307.7 kB / 0.5928 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.1344, allocations: 182.1 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.1345, allocations: 188.2 kB / 0.5932 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.1346, allocations: 105 kB / 0.5933 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.1347, allocations: 184.5 kB / 0.5934 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.791e-05/0.1347, allocations: 105 kB / 0.5935 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.64e-05/0.1347, allocations: 91.22 kB / 0.5936 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1347, allocations: 3.938 kB / 0.5936 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002143/0.135, allocations: 19.88 kB / 0.5936 GB, free: 10.53 MB / 0.4981 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.0003765/0.1353, allocations: 0.8359 MB / 0.5945 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.542e-05/0.1354, allocations: 8 kB / 0.5945 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1354, allocations: 128 / 0.5945 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.1354, allocations: 4 kB / 0.5945 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1357, allocations: 459.7 kB / 0.5949 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008195/0.1366, allocations: 1.332 MB / 0.5962 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.1368, allocations: 0.669 MB / 0.5969 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.1368, allocations: 12.86 kB / 0.5969 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.709e-05/0.1368, allocations: 7.438 kB / 0.5969 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1368, allocations: 0 / 0.5969 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.008/1.145, allocations: 1.488 MB / 0.5983 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.49, allocations: 5.938 kB / 0.5983 GB, free: 5.711 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)