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.001642/0.001642, allocations: 106.6 kB / 16.4 MB, free: 6.504 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.002101/0.002101, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, 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 0.6999/0.6999, allocations: 115.3 MB / 406.5 MB, free: 6.078 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65 kB / 0.5572 GB, free: 32.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1598, allocations: 76.18 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.002495/0.1624, allocations: 1.262 MB / 0.6328 GB, free: 3.625 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.5583/0.7207, allocations: 132 MB / 0.7617 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.628e-05/0.7208, allocations: 0.5938 kB / 0.7617 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.7209, allocations: 0 / 0.7617 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/0.7209, allocations: 8.188 kB / 0.7618 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.7213, allocations: 50.75 kB / 0.7618 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.885e-05/0.7214, allocations: 23.67 kB / 0.7618 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.7214, allocations: 13.38 kB / 0.7618 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.7215, allocations: 8.125 kB / 0.7618 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.7216, allocations: 6.906 kB / 0.7619 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.7216, allocations: 1.156 kB / 0.7619 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 7.335e-05/0.7217, allocations: 14.69 kB / 0.7619 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.7217, allocations: 6.531 kB / 0.7619 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.611e-05/0.7217, allocations: 8.141 kB / 0.7619 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.7218, allocations: 27.11 kB / 0.7619 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.7218, allocations: 3.594 kB / 0.7619 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7218, allocations: 0 / 0.7619 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.7219, allocations: 0 / 0.7619 GB, free: 15.8 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.0004253/0.7223, allocations: 337.2 kB / 0.7622 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.7223, allocations: 10.58 kB / 0.7622 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.564e-05/0.7224, allocations: 33.33 kB / 0.7623 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.7224, allocations: 4.625 kB / 0.7623 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.7225, allocations: 164.7 kB / 0.7624 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.8e-05/0.7226, allocations: 32.61 kB / 0.7625 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.7226, allocations: 1.375 kB / 0.7625 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.7228, allocations: 48.64 kB / 0.7625 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.7228, allocations: 4.125 kB / 0.7625 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.7228, allocations: 3.438 kB / 0.7625 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.7228, allocations: 0 / 0.7625 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.7229, allocations: 10.19 kB / 0.7625 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.7231, allocations: 154.4 kB / 0.7627 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 8.898e-05/0.7232, allocations: 36.45 kB / 0.7627 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.7232, allocations: 20.31 kB / 0.7627 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.7234, allocations: 86.64 kB / 0.7628 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.7234, allocations: 38.28 kB / 0.7629 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.7234, allocations: 0 / 0.7629 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002338/0.7237, allocations: 58.97 kB / 0.7629 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.7237, allocations: 52.38 kB / 0.763 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.7238, allocations: 100.1 kB / 0.7631 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.7238, allocations: 25.7 kB / 0.7631 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.7238, allocations: 83.45 kB / 0.7632 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.7239, allocations: 16.53 kB / 0.7632 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.7239, allocations: 18.67 kB / 0.7632 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.724, allocations: 311.8 kB / 0.7635 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.7241, allocations: 8.578 kB / 0.7635 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.769e-05/0.7241, allocations: 12.59 kB / 0.7635 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.7242, allocations: 24.11 kB / 0.7635 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7242, allocations: 0 / 0.7635 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001148/0.7243, allocations: 49.95 kB / 0.7636 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.7244, allocations: 9.469 kB / 0.7636 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.7244, allocations: 1.922 kB / 0.7636 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.7244, allocations: 1.828 kB / 0.7636 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.618e-05/0.7245, allocations: 5.469 kB / 0.7636 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.7245, allocations: 0 / 0.7636 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.7245, allocations: 8.438 kB / 0.7636 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.7245, allocations: 0.5 kB / 0.7636 GB, free: 14.07 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.255e-05/0.7246, allocations: 107.3 kB / 0.7637 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.7246, allocations: 11.34 kB / 0.7637 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.7248, allocations: 56.95 kB / 0.7638 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.7248, allocations: 0.8125 kB / 0.7638 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.7248, allocations: 2.25 kB / 0.7638 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7248, allocations: 0.5625 kB / 0.7638 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.7249, allocations: 158.5 kB / 0.7639 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.7249, allocations: 0.5312 kB / 0.7639 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.725, allocations: 7.625 kB / 0.7639 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.725, allocations: 4.469 kB / 0.7639 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.725, allocations: 1.281 kB / 0.7639 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.725, allocations: 0.7188 kB / 0.7639 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.725, allocations: 0 / 0.7639 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.7252, allocations: 88.06 kB / 0.764 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.7252, allocations: 85.25 kB / 0.7641 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.7252, allocations: 0.5312 kB / 0.7641 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.997e-05/0.7253, allocations: 5.531 kB / 0.7641 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.7253, allocations: 4.375 kB / 0.7641 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.7253, allocations: 4.812 kB / 0.7641 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.7254, allocations: 77.97 kB / 0.7642 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7254, allocations: 0 / 0.7642 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000191/0.7256, allocations: 14.27 kB / 0.7642 GB, free: 13.47 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.0004342/0.726, allocations: 0.6242 MB / 0.7648 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.7261, allocations: 19.75 kB / 0.7648 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7262, allocations: 0 / 0.7648 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.33e-05/0.7262, allocations: 15.03 kB / 0.7649 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.7264, allocations: 9.578 kB / 0.7649 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.7268, allocations: 165.6 kB / 0.765 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.727, allocations: 0.6782 MB / 0.7657 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.7271, allocations: 5.344 kB / 0.7657 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.7271, allocations: 8.75 kB / 0.7657 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.7271, allocations: 2.359 kB / 0.7657 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.7471, allocations: 1.368 MB / 0.767 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.438/8.186, allocations: 10.41 kB / 0.767 GB, free: 11.65 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)