Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IBPSA_latest_IBPSA_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.001277/0.001278, allocations: 102 kB / 15.98 MB, free: 6.344 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.001346/0.001346, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.45/1.45, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7162/0.7162, allocations: 115.3 MB / 406.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 63.89 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4416/0.4431, allocations: 76.18 MB / 0.556 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.003437/0.4467, allocations: 1.54 MB / 0.5575 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1521/0.5988, allocations: 130.1 MB / 0.6846 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.5989, allocations: 4 kB / 0.6846 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.11e-05/0.599, allocations: 0 / 0.6846 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.919e-05/0.5992, allocations: 11.86 kB / 0.6846 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.5997, allocations: 69.86 kB / 0.6847 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.5998, allocations: 43.86 kB / 0.6847 GB, free: 460 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.5999, allocations: 15.98 kB / 0.6847 GB, free: 444 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.619e-05/0.6, allocations: 27.92 kB / 0.6847 GB, free: 416 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.388e-05/0.6001, allocations: 19.91 kB / 0.6848 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.6001, allocations: 8 kB / 0.6848 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.6002, allocations: 15.98 kB / 0.6848 GB, free: 372 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.6003, allocations: 11.94 kB / 0.6848 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.373e-05/0.6003, allocations: 23.86 kB / 0.6848 GB, free: 336 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.6005, allocations: 63.75 kB / 0.6849 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.6005, allocations: 0 / 0.6849 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6005, allocations: 0 / 0.6849 GB, free: 272 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.6005, allocations: 0 / 0.6849 GB, free: 272 kB / 0.5137 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.0005999/0.6011, allocations: 377.4 kB / 0.6852 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.6012, allocations: 8.031 kB / 0.6852 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.6012, allocations: 34.73 kB / 0.6853 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.6013, allocations: 8.844 kB / 0.6853 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.6014, allocations: 176.2 kB / 0.6855 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.6014, allocations: 4.375 kB / 0.6855 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.6015, allocations: 4.375 kB / 0.6855 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.6017, allocations: 78.2 kB / 0.6855 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6018, allocations: 3.938 kB / 0.6855 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.6018, allocations: 3.938 kB / 0.6855 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6018, allocations: 0 / 0.6855 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.6021, allocations: 67.92 kB / 0.6856 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.6025, allocations: 288.7 kB / 0.6859 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.6027, allocations: 58.48 kB / 0.6859 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.6029, allocations: 36.91 kB / 0.686 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.6031, allocations: 97.09 kB / 0.6861 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.6031, allocations: 30.56 kB / 0.6861 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.6031, allocations: 0 / 0.6861 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005417/0.6037, allocations: 121.6 kB / 0.6862 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.6037, allocations: 55.41 kB / 0.6863 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.6038, allocations: 121.8 kB / 0.6864 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.6039, allocations: 25.7 kB / 0.6864 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.6039, allocations: 88.14 kB / 0.6865 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.604, allocations: 11.81 kB / 0.6865 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.906e-05/0.604, allocations: 17.7 kB / 0.6865 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.6041, allocations: 322.7 kB / 0.6868 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.6043, allocations: 31.97 kB / 0.6869 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.6044, allocations: 35.95 kB / 0.6869 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.6047, allocations: 72.78 kB / 0.687 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.6047, allocations: 0 / 0.687 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000309/0.605, allocations: 97.62 kB / 0.6871 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.605, allocations: 4 kB / 0.6871 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6051, allocations: 0 / 0.6871 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6051, allocations: 0 / 0.6871 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.6052, allocations: 15.98 kB / 0.6871 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.6052, allocations: 3.938 kB / 0.6871 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.6053, allocations: 27.81 kB / 0.6871 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.6053, allocations: 336 / 0.6871 GB, free: 13.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.613e-05/0.6054, allocations: 122.6 kB / 0.6872 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.6054, allocations: 0 / 0.6872 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.6058, allocations: 109.5 kB / 0.6873 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6058, allocations: 4 kB / 0.6873 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.6058, allocations: 4 kB / 0.6873 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.6058, allocations: 0 / 0.6873 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.606, allocations: 177.6 kB / 0.6875 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.606, allocations: 3.938 kB / 0.6875 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.6061, allocations: 15.98 kB / 0.6875 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.6061, allocations: 0 / 0.6875 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.6061, allocations: 0 / 0.6875 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.6061, allocations: 3.938 kB / 0.6875 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.6061, allocations: 3.984 kB / 0.6875 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.6065, allocations: 203.3 kB / 0.6877 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.6065, allocations: 77.11 kB / 0.6878 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.6066, allocations: 0 / 0.6878 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.6067, allocations: 11.98 kB / 0.6878 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.6067, allocations: 7.984 kB / 0.6878 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-06/0.6067, allocations: 4 kB / 0.6878 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.579e-05/0.6068, allocations: 101.7 kB / 0.6879 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6068, allocations: 0 / 0.6879 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002325/0.607, allocations: 12 kB / 0.6879 GB, free: 12.79 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 (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.0006809/0.6077, allocations: 0.7435 MB / 0.6887 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003337/0.6081, allocations: 71.91 kB / 0.6887 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6081, allocations: 0 / 0.6887 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.6082, allocations: 39.91 kB / 0.6888 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.6086, allocations: 19.98 kB / 0.6888 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.6103, allocations: 1.415 MB / 0.6902 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.6106, allocations: 0.6807 MB / 0.6908 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.281e-05/0.6106, allocations: 11.91 kB / 0.6908 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.798e-05/0.6107, allocations: 15.44 kB / 0.6909 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of SimCode: time 9.01e-07/0.6107, allocations: 192 / 0.6909 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.6399, allocations: 1.857 MB / 0.6927 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003406/0.6403, allocations: 208.1 kB / 0.6929 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.454, allocations: 0 / 0.6929 GB, free: 7.711 MB / 0.5294 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)