Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_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.001522/0.001522, allocations: 97.91 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.002216/0.002216, allocations: 177.3 kB / 15.95 MB, free: 216 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.487/2.487, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.368/1.368, allocations: 132.2 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006385, allocations: 8 kB / 0.5033 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9276/0.9283, allocations: 81.58 MB / 0.583 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002305/0.9307, allocations: 0.9815 MB / 0.5839 GB, free: 3.266 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2367/1.167, allocations: 111.9 MB / 0.6932 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/1.168, allocations: 4 kB / 0.6932 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/1.168, allocations: 3.938 kB / 0.6932 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.724e-05/1.168, allocations: 11.91 kB / 0.6933 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/1.168, allocations: 39.88 kB / 0.6933 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.874e-05/1.168, allocations: 19.95 kB / 0.6933 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.17e-05/1.168, allocations: 4 kB / 0.6933 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/1.169, allocations: 8 kB / 0.6933 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.598e-05/1.169, allocations: 11.92 kB / 0.6933 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/1.169, allocations: 3.938 kB / 0.6933 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/1.169, allocations: 16 kB / 0.6934 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/1.169, allocations: 3.984 kB / 0.6934 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.823e-05/1.169, allocations: 29.7 kB / 0.6934 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/1.169, allocations: 22.22 kB / 0.6934 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/1.169, allocations: 0 / 0.6934 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.254e-06/1.169, allocations: 4 kB / 0.6934 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.002e-06/1.169, allocations: 0 / 0.6934 GB, free: 15.16 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006217/1.17, allocations: 332 kB / 0.6937 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.17, allocations: 8.031 kB / 0.6937 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/1.17, allocations: 34.56 kB / 0.6938 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/1.17, allocations: 7.953 kB / 0.6938 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/1.17, allocations: 163 kB / 0.6939 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/1.17, allocations: 33.7 kB / 0.694 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/1.17, allocations: 0 / 0.694 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/1.17, allocations: 37.69 kB / 0.694 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/1.17, allocations: 0 / 0.694 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/1.171, allocations: 3.984 kB / 0.694 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.171, allocations: 0 / 0.694 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/1.171, allocations: 19.95 kB / 0.694 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002703/1.171, allocations: 153.7 kB / 0.6942 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/1.171, allocations: 34.55 kB / 0.6942 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002748/1.171, allocations: 93.17 kB / 0.6943 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/1.171, allocations: 30.56 kB / 0.6943 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 2.194e-06/1.172, allocations: 4 kB / 0.6943 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003721/1.172, allocations: 57.67 kB / 0.6944 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/1.172, allocations: 51.41 kB / 0.6944 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/1.172, allocations: 97.86 kB / 0.6945 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/1.172, allocations: 25.7 kB / 0.6945 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/1.172, allocations: 80.14 kB / 0.6946 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/1.172, allocations: 11.75 kB / 0.6946 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/1.172, allocations: 4 kB / 0.6946 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.172, allocations: 330.7 kB / 0.695 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.955e-05/1.173, allocations: 4 kB / 0.695 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.912e-05/1.173, allocations: 7.984 kB / 0.695 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.92e-05/1.173, allocations: 8 kB / 0.695 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.173, allocations: 3.938 kB / 0.695 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000199/1.173, allocations: 49.69 kB / 0.695 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.173, allocations: 4 kB / 0.695 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.173, allocations: 0 / 0.695 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.173, allocations: 4 kB / 0.695 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/1.173, allocations: 7.984 kB / 0.695 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.173, allocations: 4 kB / 0.695 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/1.173, allocations: 3.938 kB / 0.695 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/1.173, allocations: 0 / 0.695 GB, free: 13.24 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.0001293/1.173, allocations: 117.7 kB / 0.6952 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.319e-05/1.173, allocations: 0 / 0.6952 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002466/1.174, allocations: 61.17 kB / 0.6952 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.174, allocations: 0 / 0.6952 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/1.174, allocations: 4 kB / 0.6952 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.174, allocations: 0 / 0.6952 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/1.174, allocations: 161.6 kB / 0.6954 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.174, allocations: 0 / 0.6954 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/1.174, allocations: 7.984 kB / 0.6954 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.174, allocations: 0 / 0.6954 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/1.174, allocations: 0 / 0.6954 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.174, allocations: 0 / 0.6954 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.174, allocations: 3.984 kB / 0.6954 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/1.174, allocations: 85.48 kB / 0.6955 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/1.175, allocations: 89.09 kB / 0.6956 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/1.175, allocations: 0 / 0.6956 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.774e-05/1.175, allocations: 0 / 0.6956 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/1.175, allocations: 4 kB / 0.6956 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/1.175, allocations: 0 / 0.6956 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.149e-05/1.175, allocations: 83.3 kB / 0.6956 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.71e-07/1.175, allocations: 4 kB / 0.6956 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003648/1.175, allocations: 12 kB / 0.6957 GB, free: 12.51 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.0007571/1.176, allocations: 0.624 MB / 0.6963 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002074/1.176, allocations: 23.98 kB / 0.6963 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.176, allocations: 0 / 0.6963 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/1.176, allocations: 11.98 kB / 0.6963 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.177, allocations: 8 kB / 0.6963 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/1.177, allocations: 182 kB / 0.6965 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/1.178, allocations: 0.677 MB / 0.6971 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.273e-05/1.178, allocations: 11.98 kB / 0.6972 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/1.178, allocations: 7.438 kB / 0.6972 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/1.178, allocations: 0 / 0.6972 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/1.201, allocations: 1.107 MB / 0.6982 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003577/1.201, allocations: 197.5 kB / 0.6984 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/3.849, allocations: 0 / 0.6984 GB, free: 9.688 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: