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.001592/0.001592, allocations: 98.92 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.002219/0.002219, 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.537/2.537, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.218/1.218, allocations: 132.2 MB / 423.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007191/0.0007196, allocations: 8 kB / 0.5033 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9165/0.9173, allocations: 81.57 MB / 0.583 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003309/0.9208, allocations: 1.198 MB / 0.5841 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2768/1.198, allocations: 112 MB / 0.6935 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/1.198, allocations: 0 / 0.6935 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/1.198, allocations: 3.938 kB / 0.6935 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/1.198, allocations: 11.95 kB / 0.6935 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/1.199, allocations: 51.86 kB / 0.6935 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001626/1.199, allocations: 35.94 kB / 0.6936 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002021/1.199, allocations: 12 kB / 0.6936 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/1.199, allocations: 15.92 kB / 0.6936 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001293/1.2, allocations: 23.91 kB / 0.6936 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/1.2, allocations: 3.938 kB / 0.6936 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/1.2, allocations: 19.94 kB / 0.6937 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/1.2, allocations: 7.984 kB / 0.6937 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/1.2, allocations: 29.7 kB / 0.6937 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001995/1.2, allocations: 42.17 kB / 0.6937 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.2, allocations: 4 kB / 0.6937 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.159e-06/1.2, allocations: 4 kB / 0.6937 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.903e-06/1.2, allocations: 0 / 0.6937 GB, free: 14.85 MB / 0.5294 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.001172/1.201, allocations: 376.8 kB / 0.6941 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 9.65e-05/1.201, allocations: 15.97 kB / 0.6941 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/1.202, allocations: 38.56 kB / 0.6941 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/1.202, allocations: 7.953 kB / 0.6942 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/1.202, allocations: 167 kB / 0.6943 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/1.202, allocations: 7.938 kB / 0.6943 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/1.202, allocations: 0 / 0.6943 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/1.202, allocations: 81.66 kB / 0.6944 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/1.203, allocations: 4 kB / 0.6944 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/1.203, allocations: 4 kB / 0.6944 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/1.203, allocations: 0 / 0.6944 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000542/1.203, allocations: 91.86 kB / 0.6945 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007575/1.204, allocations: 284.8 kB / 0.6948 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003752/1.204, allocations: 70.53 kB / 0.6948 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002655/1.205, allocations: 89.19 kB / 0.6949 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.18e-05/1.205, allocations: 34.5 kB / 0.695 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/1.205, allocations: 0 / 0.695 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0009829/1.206, allocations: 177.4 kB / 0.6951 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/1.206, allocations: 51.41 kB / 0.6952 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/1.206, allocations: 113.8 kB / 0.6953 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/1.206, allocations: 25.7 kB / 0.6953 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.645e-05/1.206, allocations: 88.14 kB / 0.6954 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/1.206, allocations: 19.8 kB / 0.6954 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/1.206, allocations: 0 / 0.6954 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003911/1.207, allocations: 314.8 kB / 0.6957 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/1.207, allocations: 39.97 kB / 0.6957 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/1.207, allocations: 47.95 kB / 0.6958 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/1.207, allocations: 44.19 kB / 0.6958 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/1.207, allocations: 0 / 0.6958 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005981/1.208, allocations: 129.6 kB / 0.696 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/1.208, allocations: 7.938 kB / 0.696 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.208, allocations: 0 / 0.696 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/1.208, allocations: 3.953 kB / 0.696 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/1.208, allocations: 19.98 kB / 0.696 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/1.208, allocations: 0 / 0.696 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/1.208, allocations: 19.98 kB / 0.696 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/1.208, allocations: 4 kB / 0.696 GB, free: 12.28 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001738/1.209, allocations: 113.8 kB / 0.6961 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.804e-05/1.209, allocations: 11.83 kB / 0.6961 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006366/1.209, allocations: 133.5 kB / 0.6963 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/1.209, allocations: 0 / 0.6963 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.209, allocations: 3.953 kB / 0.6963 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.209, allocations: 8 kB / 0.6963 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/1.21, allocations: 173.6 kB / 0.6964 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.21, allocations: 0 / 0.6964 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/1.21, allocations: 19.98 kB / 0.6965 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.21, allocations: 0 / 0.6965 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/1.21, allocations: 0 / 0.6965 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.21, allocations: 0 / 0.6965 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.21, allocations: 0 / 0.6965 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/1.211, allocations: 231.3 kB / 0.6967 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.211, allocations: 77.11 kB / 0.6967 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/1.211, allocations: 4 kB / 0.6968 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/1.211, allocations: 15.98 kB / 0.6968 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/1.211, allocations: 7.984 kB / 0.6968 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/1.211, allocations: 0 / 0.6968 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000123/1.211, allocations: 103 kB / 0.6969 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.11e-07/1.211, allocations: 0 / 0.6969 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004664/1.212, allocations: 12 kB / 0.6969 GB, free: 11.28 MB / 0.5294 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 (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.001597/1.214, allocations: 0.7553 MB / 0.6976 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006484/1.214, allocations: 95.86 kB / 0.6977 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.214, allocations: 0 / 0.6977 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/1.214, allocations: 51.95 kB / 0.6978 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/1.215, allocations: 4 kB / 0.6978 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/1.217, allocations: 0.5878 MB / 0.6983 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/1.218, allocations: 0.6848 MB / 0.699 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.208e-05/1.218, allocations: 8.359 kB / 0.699 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/1.218, allocations: 15.44 kB / 0.699 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of SimCode: time 9.12e-07/1.218, allocations: 4 kB / 0.699 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/1.243, allocations: 1.673 MB / 0.7007 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004105/1.244, allocations: 177.6 kB / 0.7008 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.876/4.12, allocations: 0 / 0.7008 GB, free: 7.219 MB / 0.5294 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/linux/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) Environment - environmentSimulation: