Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.001602/0.001602, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001896/0.001896, allocations: 195.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.441/2.441, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.14/1.14, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.78 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2205, allocations: 76.17 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003918/0.2245, allocations: 1.265 MB / 0.6328 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.9489/1.173, allocations: 132 MB / 0.7618 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.624e-05/1.173, allocations: 0 / 0.7618 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/1.174, allocations: 2.344 kB / 0.7618 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/1.174, allocations: 3.594 kB / 0.7618 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/1.174, allocations: 58.25 kB / 0.7618 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.999e-05/1.174, allocations: 27.14 kB / 0.7618 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/1.174, allocations: 7.141 kB / 0.7618 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/1.174, allocations: 5.469 kB / 0.7619 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/1.174, allocations: 13.05 kB / 0.7619 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/1.174, allocations: 1.312 kB / 0.7619 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 6.762e-05/1.174, allocations: 12.41 kB / 0.7619 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/1.174, allocations: 3.938 kB / 0.7619 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/1.174, allocations: 9.547 kB / 0.7619 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001034/1.174, allocations: 27.59 kB / 0.7619 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.174, allocations: 4.75 kB / 0.7619 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.332e-06/1.174, allocations: 0 / 0.7619 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.786e-06/1.174, allocations: 0 / 0.7619 GB, free: 15.78 MB / 0.5919 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.00037/1.175, allocations: 336.5 kB / 0.7622 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.175, allocations: 9.75 kB / 0.7623 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/1.175, allocations: 37.92 kB / 0.7623 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/1.175, allocations: 2.469 kB / 0.7623 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.741e-05/1.175, allocations: 166.8 kB / 0.7624 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.175e-05/1.175, allocations: 31.66 kB / 0.7625 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/1.175, allocations: 7.844 kB / 0.7625 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/1.175, allocations: 40.83 kB / 0.7625 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/1.175, allocations: 2.531 kB / 0.7625 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/1.175, allocations: 1.531 kB / 0.7625 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/1.175, allocations: 0 / 0.7625 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/1.175, allocations: 12.78 kB / 0.7625 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/1.176, allocations: 154.7 kB / 0.7627 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.938e-05/1.176, allocations: 35.62 kB / 0.7627 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/1.176, allocations: 12.78 kB / 0.7627 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/1.176, allocations: 87.09 kB / 0.7628 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/1.176, allocations: 41.19 kB / 0.7629 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.176, allocations: 4.781 kB / 0.7629 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002247/1.176, allocations: 56.42 kB / 0.7629 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/1.176, allocations: 56.95 kB / 0.763 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/1.176, allocations: 97.02 kB / 0.7631 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/1.176, allocations: 26.45 kB / 0.7631 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/1.176, allocations: 84.17 kB / 0.7632 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/1.176, allocations: 15.36 kB / 0.7632 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/1.176, allocations: 15.97 kB / 0.7632 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/1.176, allocations: 313.6 kB / 0.7635 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/1.177, allocations: 14.22 kB / 0.7635 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/1.177, allocations: 4.969 kB / 0.7635 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.184e-05/1.177, allocations: 24.73 kB / 0.7635 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.177, allocations: 0.5 kB / 0.7635 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001259/1.177, allocations: 48.3 kB / 0.7636 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.177, allocations: 8.594 kB / 0.7636 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/1.177, allocations: 0.5312 kB / 0.7636 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.177, allocations: 1.625 kB / 0.7636 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/1.177, allocations: 14.14 kB / 0.7636 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.177, allocations: 0.5 kB / 0.7636 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/1.177, allocations: 1.219 kB / 0.7636 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/1.177, allocations: 1.312 kB / 0.7636 GB, free: 14.05 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/1.177, allocations: 112.9 kB / 0.7637 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/1.177, allocations: 5.062 kB / 0.7637 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/1.177, allocations: 62.7 kB / 0.7638 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.177, allocations: 4.594 kB / 0.7638 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.177, allocations: 1.938 kB / 0.7638 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.177, allocations: 1.797 kB / 0.7638 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.375e-05/1.177, allocations: 153.6 kB / 0.7639 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.177, allocations: 0.5312 kB / 0.7639 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/1.177, allocations: 4.875 kB / 0.7639 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.177, allocations: 6.219 kB / 0.7639 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/1.177, allocations: 0.5938 kB / 0.7639 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.177, allocations: 0.6875 kB / 0.764 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.177, allocations: 0.5938 kB / 0.764 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/1.178, allocations: 86.42 kB / 0.764 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/1.178, allocations: 82.77 kB / 0.7641 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/1.178, allocations: 3.156 kB / 0.7641 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/1.178, allocations: 2.578 kB / 0.7641 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/1.178, allocations: 3.531 kB / 0.7641 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/1.178, allocations: 3.328 kB / 0.7641 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.354e-05/1.178, allocations: 81.06 kB / 0.7642 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/1.178, allocations: 4 kB / 0.7642 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001897/1.178, allocations: 16.72 kB / 0.7642 GB, free: 13.44 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004047/1.178, allocations: 0.6194 MB / 0.7648 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001391/1.179, allocations: 21.16 kB / 0.7648 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.179, allocations: 4 kB / 0.7648 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/1.179, allocations: 12.17 kB / 0.7649 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/1.179, allocations: 7.812 kB / 0.7649 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/1.179, allocations: 163 kB / 0.765 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/1.179, allocations: 0.6746 MB / 0.7657 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.434e-05/1.179, allocations: 6.125 kB / 0.7657 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/1.18, allocations: 16.55 kB / 0.7657 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/1.18, allocations: 0 / 0.7657 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3488/1.528, allocations: 1.371 MB / 0.767 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/16.78, allocations: 0 / 0.767 GB, free: 11.63 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)