Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",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.007491/0.007491, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001385/0.001385, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8029/0.8029, allocations: 132.2 MB / 422.7 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 61.47 kB / 0.5808 GB, free: 24.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1429, allocations: 80.22 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00259/0.1455, allocations: 1.487 MB / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5071/0.6526, allocations: 132.1 MB / 0.7896 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.6527, allocations: 2.156 kB / 0.7896 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.66e-05/0.6528, allocations: 6.375 kB / 0.7896 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.014e-05/0.6529, allocations: 11.3 kB / 0.7896 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.6533, allocations: 63.73 kB / 0.7897 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.6535, allocations: 59.52 kB / 0.7897 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.6536, allocations: 17.62 kB / 0.7897 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.6536, allocations: 22.31 kB / 0.7898 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.6537, allocations: 24.62 kB / 0.7898 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.6537, allocations: 3.781 kB / 0.7898 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.6538, allocations: 18.19 kB / 0.7898 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.6538, allocations: 11.64 kB / 0.7898 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.6539, allocations: 26.16 kB / 0.7898 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.654, allocations: 62.84 kB / 0.7899 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.654, allocations: 1.125 kB / 0.7899 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6541, allocations: 0 / 0.7899 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.6541, allocations: 0 / 0.7899 GB, free: 13.09 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004981/0.6546, allocations: 369.5 kB / 0.7903 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.6546, allocations: 10.5 kB / 0.7903 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.6547, allocations: 41.33 kB / 0.7903 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.6547, allocations: 7.5 kB / 0.7903 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.6548, allocations: 176.2 kB / 0.7905 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.6548, allocations: 1.594 kB / 0.7905 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.6548, allocations: 4.188 kB / 0.7905 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.6551, allocations: 73.98 kB / 0.7906 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.6551, allocations: 5 kB / 0.7906 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.6551, allocations: 0 / 0.7906 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6551, allocations: 1.094 kB / 0.7906 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002874/0.6554, allocations: 71.62 kB / 0.7906 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.6558, allocations: 288.6 kB / 0.7909 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.656, allocations: 56.05 kB / 0.791 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.6562, allocations: 39.38 kB / 0.791 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.6563, allocations: 91.83 kB / 0.7911 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.6564, allocations: 35.5 kB / 0.7911 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.6564, allocations: 0 / 0.7911 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.000549/0.6569, allocations: 132.3 kB / 0.7913 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.657, allocations: 52.56 kB / 0.7913 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.045e-05/0.6571, allocations: 115.9 kB / 0.7914 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.6571, allocations: 30.45 kB / 0.7914 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.6571, allocations: 92.3 kB / 0.7915 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.6572, allocations: 9.094 kB / 0.7915 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.6572, allocations: 20.19 kB / 0.7916 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.6573, allocations: 321.4 kB / 0.7919 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.6575, allocations: 32.69 kB / 0.7919 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.6576, allocations: 29.83 kB / 0.7919 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.6579, allocations: 72.67 kB / 0.792 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.6579, allocations: 3.938 kB / 0.792 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000325/0.6582, allocations: 102.8 kB / 0.7921 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.6582, allocations: 5.719 kB / 0.7921 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.6583, allocations: 0 / 0.7921 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.6583, allocations: 1.344 kB / 0.7921 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.6584, allocations: 19.22 kB / 0.7921 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.6584, allocations: 3.938 kB / 0.7921 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/0.6585, allocations: 19.58 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.6585, allocations: 1.156 kB / 0.7921 GB, free: 11.26 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 6.828e-05/0.6586, allocations: 117.2 kB / 0.7923 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/0.6586, allocations: 2.188 kB / 0.7923 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.659, allocations: 113.1 kB / 0.7924 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.659, allocations: 0 / 0.7924 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.659, allocations: 1.562 kB / 0.7924 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.659, allocations: 0 / 0.7924 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.6592, allocations: 176.1 kB / 0.7925 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6592, allocations: 1.156 kB / 0.7925 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.6593, allocations: 22.86 kB / 0.7926 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.6593, allocations: 4 kB / 0.7926 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.6593, allocations: 0 / 0.7926 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6593, allocations: 1.312 kB / 0.7926 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.6593, allocations: 0 / 0.7926 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000357/0.6597, allocations: 202.1 kB / 0.7928 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.377e-05/0.6597, allocations: 81.89 kB / 0.7928 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.6597, allocations: 3.594 kB / 0.7928 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.6599, allocations: 11.27 kB / 0.7928 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/0.6599, allocations: 7.047 kB / 0.7929 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.6599, allocations: 1.219 kB / 0.7929 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.66, allocations: 90.05 kB / 0.7929 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.66, allocations: 0 / 0.7929 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002356/0.6602, allocations: 12.69 kB / 0.793 GB, free: 10.58 MB / 0.5919 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 (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 Backend phase and start with SimCode phase: time 0.0006598/0.6609, allocations: 0.7403 MB / 0.7937 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003658/0.6613, allocations: 74.08 kB / 0.7937 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6613, allocations: 0 / 0.7937 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.6614, allocations: 37.23 kB / 0.7938 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.6617, allocations: 11.69 kB / 0.7938 GB, free: 9.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.6635, allocations: 1.434 MB / 0.7952 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.6637, allocations: 0.688 MB / 0.7959 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.66e-05/0.6638, allocations: 10.17 kB / 0.7959 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.6638, allocations: 19.67 kB / 0.7959 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.6638, allocations: 0 / 0.7959 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.6818, allocations: 2.078 MB / 0.7979 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.394, allocations: 7.422 kB / 0.7979 GB, free: 7.621 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)