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.0008144/0.000814, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009305/0.0009304, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8078/0.8078, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004022, allocations: 9.031 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4761/0.4765, allocations: 81.57 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001565/0.4781, allocations: 1.198 MB / 0.5843 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1466/0.6247, allocations: 119.7 MB / 0.7012 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.024e-05/0.6248, allocations: 4 kB / 0.7012 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.6248, allocations: 3.938 kB / 0.7012 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.6249, allocations: 3.938 kB / 0.7012 GB, free: 7.355 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003054/0.6252, allocations: 51.8 kB / 0.7012 GB, free: 7.305 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.237e-05/0.6253, allocations: 47.78 kB / 0.7013 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.6254, allocations: 19.97 kB / 0.7013 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.6255, allocations: 11.94 kB / 0.7013 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.6255, allocations: 23.91 kB / 0.7013 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.6255, allocations: 4 kB / 0.7013 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.6256, allocations: 12 kB / 0.7013 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.6257, allocations: 11.92 kB / 0.7013 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.504e-05/0.6257, allocations: 29.7 kB / 0.7014 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.841e-05/0.6258, allocations: 38.19 kB / 0.7014 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6258, allocations: 4 kB / 0.7014 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6258, allocations: 0 / 0.7014 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.6258, allocations: 0 / 0.7014 GB, free: 7.102 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.0005491/0.6264, allocations: 383 kB / 0.7018 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.6264, allocations: 12.03 kB / 0.7018 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.487e-05/0.6265, allocations: 34.56 kB / 0.7018 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.6265, allocations: 7.953 kB / 0.7018 GB, free: 6.617 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.6266, allocations: 174.9 kB / 0.702 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.6267, allocations: 12 kB / 0.702 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.6267, allocations: 0 / 0.702 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.6269, allocations: 81.66 kB / 0.7021 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.6269, allocations: 0 / 0.7021 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.627, allocations: 7.984 kB / 0.7021 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.627, allocations: 4 kB / 0.7021 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.6273, allocations: 83.94 kB / 0.7022 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.6277, allocations: 284.7 kB / 0.7025 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.6279, allocations: 70.53 kB / 0.7025 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.628, allocations: 44.92 kB / 0.7026 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.6282, allocations: 89.09 kB / 0.7026 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.6282, allocations: 38.56 kB / 0.7027 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.6282, allocations: 4 kB / 0.7027 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005215/0.6288, allocations: 173.5 kB / 0.7029 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.6288, allocations: 51.41 kB / 0.7029 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.537e-05/0.6289, allocations: 121.8 kB / 0.703 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.6289, allocations: 29.64 kB / 0.703 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.629, allocations: 88.12 kB / 0.7031 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.629, allocations: 11.81 kB / 0.7031 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.629, allocations: 0 / 0.7031 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.6291, allocations: 318.8 kB / 0.7034 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.6293, allocations: 43.97 kB / 0.7035 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.6294, allocations: 39.97 kB / 0.7035 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.6296, allocations: 47.95 kB / 0.7036 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6296, allocations: 0 / 0.7036 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003047/0.6299, allocations: 121.6 kB / 0.7037 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.6299, allocations: 6.188 kB / 0.7037 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6299, allocations: 0 / 0.7037 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6299, allocations: 7.891 kB / 0.7037 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.6301, allocations: 27.97 kB / 0.7037 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.6301, allocations: 0 / 0.7037 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.6302, allocations: 15.98 kB / 0.7037 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.6302, allocations: 4 kB / 0.7037 GB, free: 4.469 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 8.359e-05/0.6303, allocations: 109.8 kB / 0.7039 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.6303, allocations: 7.906 kB / 0.7039 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00035/0.6306, allocations: 133.5 kB / 0.704 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.6307, allocations: 7.953 kB / 0.704 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.6307, allocations: 0 / 0.704 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.6307, allocations: 0 / 0.704 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.6309, allocations: 177.6 kB / 0.7042 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6309, allocations: 0 / 0.7042 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.911e-05/0.631, allocations: 19.98 kB / 0.7042 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.631, allocations: 0 / 0.7042 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.631, allocations: 3.984 kB / 0.7042 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.631, allocations: 4 kB / 0.7042 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.631, allocations: 7.953 kB / 0.7042 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.6314, allocations: 215.4 kB / 0.7044 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.6314, allocations: 77.11 kB / 0.7045 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.6315, allocations: 0 / 0.7045 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.6316, allocations: 19.97 kB / 0.7045 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.6316, allocations: 8 kB / 0.7045 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.6316, allocations: 7.953 kB / 0.7045 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.425e-05/0.6317, allocations: 99.03 kB / 0.7046 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6317, allocations: 0 / 0.7046 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002329/0.6319, allocations: 16 kB / 0.7046 GB, free: 3.473 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.0006513/0.6326, allocations: 0.7592 MB / 0.7054 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.6329, allocations: 96.19 kB / 0.7055 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6329, allocations: 0 / 0.7055 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.6331, allocations: 43.91 kB / 0.7055 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.6334, allocations: 27.91 kB / 0.7055 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.6345, allocations: 0.5786 MB / 0.7061 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.6348, allocations: 0.687 MB / 0.7068 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.667e-05/0.6348, allocations: 4 kB / 0.7068 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.6348, allocations: 15.44 kB / 0.7068 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of SimCode: time 3.41e-07/0.6349, allocations: 0 / 0.7068 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01585/0.6507, allocations: 1.687 MB / 0.7084 GB, free: 15.63 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/0.651, allocations: 177.6 kB / 0.7086 GB, free: 15.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.37, allocations: 64 / 0.7086 GB, free: 15.39 MB / 0.545 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: