Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009308/0.0009308, allocations: 99.62 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.001038/0.001038, 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 1.489/1.489, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.048/1.048, allocations: 143.3 MB / 434.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.0003252, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1928, allocations: 83.42 MB / 0.5974 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001827/0.1947, allocations: 1.194 MB / 0.5985 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4869/0.6816, allocations: 112 MB / 0.7079 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.686e-05/0.6817, allocations: 1.25 kB / 0.7079 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.6817, allocations: 0.7031 kB / 0.7079 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.34e-05/0.6818, allocations: 15.98 kB / 0.7079 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.6823, allocations: 55.09 kB / 0.7079 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.6824, allocations: 30.47 kB / 0.708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.6825, allocations: 13.27 kB / 0.708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.467e-05/0.6826, allocations: 21.84 kB / 0.708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.6827, allocations: 20.77 kB / 0.708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.6827, allocations: 1.219 kB / 0.708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.433e-05/0.6828, allocations: 19.97 kB / 0.708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.6828, allocations: 12.33 kB / 0.7081 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.6829, allocations: 29.73 kB / 0.7081 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.683, allocations: 35.25 kB / 0.7081 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.683, allocations: 0 / 0.7081 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.449e-06/0.683, allocations: 5.281 kB / 0.7081 GB, free: 15.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.6831, allocations: 0 / 0.7081 GB, free: 15.83 MB / 0.545 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.0005977/0.6837, allocations: 376.9 kB / 0.7085 GB, free: 15.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.6837, allocations: 8.969 kB / 0.7085 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.835e-05/0.6838, allocations: 40.56 kB / 0.7085 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.6838, allocations: 9.719 kB / 0.7085 GB, free: 15.42 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.684, allocations: 175.7 kB / 0.7087 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.684, allocations: 3.5 kB / 0.7087 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.684, allocations: 2.375 kB / 0.7087 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.6844, allocations: 85.45 kB / 0.7088 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6844, allocations: 0 / 0.7088 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.6844, allocations: 1.641 kB / 0.7088 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.6844, allocations: 1.188 kB / 0.7088 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003831/0.6848, allocations: 93.64 kB / 0.7089 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.6854, allocations: 287.2 kB / 0.7092 GB, free: 14.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.6856, allocations: 68.92 kB / 0.7092 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.6859, allocations: 88.66 kB / 0.7093 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.6859, allocations: 32.39 kB / 0.7093 GB, free: 14.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.6859, allocations: 1.125 kB / 0.7093 GB, free: 14.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0007003/0.6866, allocations: 170.9 kB / 0.7095 GB, free: 14.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.6867, allocations: 52.47 kB / 0.7095 GB, free: 14.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.6868, allocations: 120.6 kB / 0.7097 GB, free: 14.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.6868, allocations: 25.7 kB / 0.7097 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.6869, allocations: 88.09 kB / 0.7098 GB, free: 14.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.6869, allocations: 14.59 kB / 0.7098 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.687, allocations: 3.938 kB / 0.7098 GB, free: 14.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6871, allocations: 314.2 kB / 0.7101 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.6873, allocations: 40.48 kB / 0.7101 GB, free: 14.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.6874, allocations: 45.3 kB / 0.7102 GB, free: 14.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.6876, allocations: 45 kB / 0.7102 GB, free: 14 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6876, allocations: 0.75 kB / 0.7102 GB, free: 14 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003751/0.688, allocations: 126.3 kB / 0.7103 GB, free: 13.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.688, allocations: 6.266 kB / 0.7103 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.688, allocations: 0 / 0.7103 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6881, allocations: 1.125 kB / 0.7103 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.6882, allocations: 24.73 kB / 0.7104 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6882, allocations: 0 / 0.7104 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.362e-05/0.6883, allocations: 25.2 kB / 0.7104 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.6883, allocations: 5.547 kB / 0.7104 GB, free: 13.93 MB / 0.545 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 8.503e-05/0.6884, allocations: 109 kB / 0.7105 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.6885, allocations: 6.031 kB / 0.7105 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004199/0.6889, allocations: 129 kB / 0.7106 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6889, allocations: 1.031 kB / 0.7106 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/0.6889, allocations: 0.7969 kB / 0.7106 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6889, allocations: 9.969 kB / 0.7106 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001998/0.6891, allocations: 177.6 kB / 0.7108 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6891, allocations: 0 / 0.7108 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.6892, allocations: 20.91 kB / 0.7108 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.6893, allocations: 1.156 kB / 0.7108 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.6893, allocations: 4.625 kB / 0.7108 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6893, allocations: 1.719 kB / 0.7108 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.6893, allocations: 3.984 kB / 0.7108 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004115/0.6897, allocations: 218.1 kB / 0.711 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.6898, allocations: 87.05 kB / 0.7111 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.6898, allocations: 2.891 kB / 0.7111 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.69, allocations: 19.84 kB / 0.7112 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/0.6901, allocations: 5.125 kB / 0.7112 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.6901, allocations: 1.375 kB / 0.7112 GB, free: 13.29 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.585e-05/0.6902, allocations: 98.28 kB / 0.7113 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.505e-06/0.6902, allocations: 1.438 kB / 0.7113 GB, free: 13.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002616/0.6904, allocations: 14.91 kB / 0.7113 GB, free: 13.2 MB / 0.545 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.0009024/0.6913, allocations: 0.7632 MB / 0.712 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.6918, allocations: 89.25 kB / 0.7121 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.6918, allocations: 0 / 0.7121 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.692, allocations: 52.81 kB / 0.7121 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.6922, allocations: 11.23 kB / 0.7122 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.6936, allocations: 0.5697 MB / 0.7127 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.6938, allocations: 0.6866 MB / 0.7134 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.745e-05/0.6939, allocations: 2.172 kB / 0.7134 GB, free: 11.41 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.6939, allocations: 19.48 kB / 0.7134 GB, free: 11.4 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.694, allocations: 0 / 0.7134 GB, free: 11.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.7065, allocations: 1.698 MB / 0.7151 GB, free: 11.26 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.7068, allocations: 192.2 kB / 0.7152 GB, free: 11.03 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.376, allocations: 3.375 kB / 0.7153 GB, free: 11.03 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) Environment - environmentSimulation: