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.0008816/0.0008817, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001158/0.001157, allocations: 172.7 kB / 15.95 MB, free: 208 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7875/0.7875, allocations: 132.3 MB / 423.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.000344, allocations: 8 kB / 0.5035 GB, free: 4.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4724, allocations: 81.58 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001214/0.4737, allocations: 0.9897 MB / 0.5841 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1434/0.617, allocations: 119.6 MB / 0.7009 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.6171, allocations: 0 / 0.7009 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.6171, allocations: 0 / 0.7009 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.983e-05/0.6172, allocations: 11.92 kB / 0.7009 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.6175, allocations: 43.8 kB / 0.701 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.493e-05/0.6176, allocations: 23.88 kB / 0.701 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.327e-05/0.6176, allocations: 3.984 kB / 0.701 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.357e-05/0.6177, allocations: 7.938 kB / 0.701 GB, free: 7.566 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.593e-05/0.6177, allocations: 7.938 kB / 0.701 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.6178, allocations: 4 kB / 0.701 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.147e-05/0.6178, allocations: 15.92 kB / 0.701 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.6179, allocations: 4 kB / 0.701 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.253e-05/0.6179, allocations: 25.7 kB / 0.7011 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.755e-05/0.618, allocations: 22.23 kB / 0.7011 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.618, allocations: 4 kB / 0.7011 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.522e-06/0.618, allocations: 0 / 0.7011 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.618, allocations: 0 / 0.7011 GB, free: 7.48 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.0003333/0.6183, allocations: 327.3 kB / 0.7014 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.6184, allocations: 12.03 kB / 0.7014 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.6184, allocations: 30.56 kB / 0.7014 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.545e-05/0.6184, allocations: 3.953 kB / 0.7014 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/0.6185, allocations: 179 kB / 0.7016 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.162e-05/0.6186, allocations: 29.7 kB / 0.7016 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.6186, allocations: 4 kB / 0.7016 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.6187, allocations: 37.62 kB / 0.7017 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.6188, allocations: 0 / 0.7017 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.6188, allocations: 4 kB / 0.7017 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6188, allocations: 0 / 0.7017 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/0.6189, allocations: 15.94 kB / 0.7017 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.619, allocations: 153.7 kB / 0.7018 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.147e-05/0.6191, allocations: 34.58 kB / 0.7019 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.6192, allocations: 16.88 kB / 0.7019 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.6194, allocations: 89.09 kB / 0.702 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.6194, allocations: 34.56 kB / 0.702 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.6194, allocations: 0 / 0.702 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002169/0.6196, allocations: 61.67 kB / 0.7021 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.6197, allocations: 51.41 kB / 0.7021 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.074e-05/0.6198, allocations: 97.86 kB / 0.7022 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.6198, allocations: 25.7 kB / 0.7022 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.6198, allocations: 80.14 kB / 0.7023 GB, free: 5.984 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.6198, allocations: 7.812 kB / 0.7023 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.6198, allocations: 0 / 0.7023 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.62, allocations: 326.7 kB / 0.7026 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.898e-05/0.62, allocations: 15.94 kB / 0.7026 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.6201, allocations: 7.984 kB / 0.7027 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.6201, allocations: 4 kB / 0.7027 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6201, allocations: 0 / 0.7027 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001061/0.6202, allocations: 49.62 kB / 0.7027 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.6202, allocations: 8 kB / 0.7027 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6203, allocations: 0 / 0.7027 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6203, allocations: 0 / 0.7027 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.6203, allocations: 12.5 kB / 0.7027 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6204, allocations: 0 / 0.7027 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.293e-05/0.6204, allocations: 11.94 kB / 0.7027 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.6204, allocations: 0 / 0.7027 GB, free: 5.535 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 7.743e-05/0.6205, allocations: 109.8 kB / 0.7028 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-06/0.6205, allocations: 4 kB / 0.7028 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.6207, allocations: 65.09 kB / 0.7029 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.6207, allocations: 0 / 0.7029 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.6207, allocations: 4 kB / 0.7029 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6207, allocations: 0 / 0.7029 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.6208, allocations: 153.6 kB / 0.7031 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6208, allocations: 0 / 0.7031 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/0.6209, allocations: 15.98 kB / 0.7031 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.6209, allocations: 0 / 0.7031 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.6209, allocations: 4 kB / 0.7031 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.6209, allocations: 0 / 0.7031 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.6209, allocations: 0 / 0.7031 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001306/0.621, allocations: 88.92 kB / 0.7032 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.6211, allocations: 81.09 kB / 0.7032 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.6211, allocations: 4 kB / 0.7032 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.6211, allocations: 0 / 0.7032 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.057e-05/0.6212, allocations: 0 / 0.7032 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.6212, allocations: 8 kB / 0.7033 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.985e-05/0.6212, allocations: 79.27 kB / 0.7033 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6212, allocations: 0 / 0.7033 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000184/0.6214, allocations: 16 kB / 0.7033 GB, free: 4.809 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.000429/0.6219, allocations: 0.624 MB / 0.704 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.622, allocations: 19.98 kB / 0.704 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.622, allocations: 0 / 0.704 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.622, allocations: 15.98 kB / 0.704 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.6223, allocations: 4 kB / 0.704 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.6226, allocations: 170.1 kB / 0.7042 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.6229, allocations: 0.6808 MB / 0.7048 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.6229, allocations: 11.92 kB / 0.7048 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.623, allocations: 15.44 kB / 0.7048 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.623, allocations: 0 / 0.7048 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.6346, allocations: 1.131 MB / 0.7059 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/0.6348, allocations: 192.1 kB / 0.7061 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.303, allocations: 0 / 0.7061 GB, free: 1.98 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: