Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001266, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9066/0.9066, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.5 MB / 395.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008754/0.0008754, allocations: 92.84 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.368e-05/2.37e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.492, allocations: 82.3 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.674, allocations: 137.8 MB / 0.7685 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.6743, allocations: 67.97 kB / 0.7685 GB, free: 0.8203 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005455/0.6798, allocations: 2.18 MB / 0.7706 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6798, allocations: 0 / 0.7706 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.6798, allocations: 0 / 0.7706 GB, free: 14.64 MB / 0.5573 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.0005094/0.6804, allocations: 380 kB / 0.771 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.6804, allocations: 8.031 kB / 0.771 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.6805, allocations: 7.953 kB / 0.771 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.6806, allocations: 174.9 kB / 0.7712 GB, free: 14 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.6807, allocations: 0 / 0.7712 GB, free: 14 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.6807, allocations: 8 kB / 0.7712 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/0.6808, allocations: 20 kB / 0.7712 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.6809, allocations: 45.62 kB / 0.7713 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.6809, allocations: 0 / 0.7713 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.681, allocations: 0 / 0.7713 GB, free: 13.92 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.681, allocations: 4 kB / 0.7713 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004624/0.6814, allocations: 257.4 kB / 0.7715 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.194e-05/0.6815, allocations: 30.58 kB / 0.7715 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.6816, allocations: 16.86 kB / 0.7716 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.6818, allocations: 89.19 kB / 0.7716 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.143e-05/0.6818, allocations: 38.5 kB / 0.7717 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6818, allocations: 0 / 0.7717 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0002832/0.6821, allocations: 57.55 kB / 0.7717 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.6822, allocations: 55.41 kB / 0.7718 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.559e-05/0.6822, allocations: 101 kB / 0.7719 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.6823, allocations: 25.7 kB / 0.7719 GB, free: 13.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.6823, allocations: 92.08 kB / 0.772 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.6824, allocations: 11.81 kB / 0.772 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.306e-06/0.6824, allocations: 0 / 0.772 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6825, allocations: 322.8 kB / 0.7723 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.6825, allocations: 8 kB / 0.7723 GB, free: 12.71 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.6826, allocations: 12 kB / 0.7723 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.064e-05/0.6826, allocations: 8 kB / 0.7723 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.6826, allocations: 0 / 0.7723 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001074/0.6828, allocations: 57.62 kB / 0.7724 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6828, allocations: 4 kB / 0.7724 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.6828, allocations: 0 / 0.7724 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.6828, allocations: 3.984 kB / 0.7724 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.683, allocations: 20.36 kB / 0.7724 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.683, allocations: 15.94 kB / 0.7724 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/0.6831, allocations: 15.98 kB / 0.7725 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.6831, allocations: 0 / 0.7725 GB, free: 12.57 MB / 0.5573 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 () * 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 8.786e-05/0.6832, allocations: 108.9 kB / 0.7726 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001261/0.6833, allocations: 61.72 kB / 0.7726 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.6834, allocations: 0 / 0.7726 GB, free: 12.39 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.6835, allocations: 70 kB / 0.7727 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6835, allocations: 4 kB / 0.7727 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6836, allocations: 4 kB / 0.7727 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6836, allocations: 0 / 0.7727 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.6837, allocations: 150.2 kB / 0.7728 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6837, allocations: 0 / 0.7728 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.6838, allocations: 19.98 kB / 0.7729 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6839, allocations: 0 / 0.7729 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.6839, allocations: 0 / 0.7729 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6839, allocations: 4 kB / 0.7729 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6839, allocations: 3.953 kB / 0.7729 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/0.6841, allocations: 155.4 kB / 0.773 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.6841, allocations: 81.11 kB / 0.7731 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.6841, allocations: 0 / 0.7731 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.6843, allocations: 19.98 kB / 0.7731 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.6843, allocations: 3.984 kB / 0.7731 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/0.6843, allocations: 7.953 kB / 0.7731 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.6844, allocations: 83.28 kB / 0.7732 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6844, allocations: 0 / 0.7732 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002301/0.6846, allocations: 19.84 kB / 0.7732 GB, free: 11.7 MB / 0.5573 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 () * 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.0005398/0.6852, allocations: 0.728 MB / 0.7739 GB, free: 10.94 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.721e-05/0.6853, allocations: 24 kB / 0.7739 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6853, allocations: 0 / 0.7739 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.6853, allocations: 12 kB / 0.774 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.6855, allocations: 7.562 kB / 0.774 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.6859, allocations: 113.5 kB / 0.7741 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.6862, allocations: 0.6924 MB / 0.7748 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.6862, allocations: 3.938 kB / 0.7748 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.6863, allocations: 19.44 kB / 0.7748 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of SimCode: time 2.4e-07/0.6863, allocations: 0 / 0.7748 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01884/0.7051, allocations: 1.528 MB / 0.7763 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.7054, allocations: 133.9 kB / 0.7764 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.603/2.308, allocations: 0 / 0.7764 GB, free: 8.309 MB / 0.5573 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)