Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7082/0.7082, allocations: 127.3 MB / 134.6 MB, free: 3.527 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 181.3 kB / 164.4 MB, free: 11.86 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 399.1 MB, free: 13.63 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009048/0.0009047, allocations: 100.5 kB / 476.3 MB, free: 1.645 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.083e-05/1.086e-05, allocations: 2.562 kB / 0.546 GB, free: 98.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.168, allocations: 76.76 MB / 0.6209 GB, free: 43.68 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.6197, allocations: 128.4 MB / 0.7463 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.62, allocations: 80.8 kB / 0.7464 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.003344/0.6234, allocations: 1.317 MB / 0.7477 GB, free: 43.53 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.6234, allocations: 0 / 0.7477 GB, free: 43.53 MB / 0.5105 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.0002322/0.6236, allocations: 325.8 kB / 0.748 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.6237, allocations: 11.69 kB / 0.748 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.6237, allocations: 3.906 kB / 0.748 GB, free: 43.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.868e-05/0.6238, allocations: 166.9 kB / 0.7481 GB, free: 42.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.6239, allocations: 32.67 kB / 0.7482 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.6239, allocations: 0 / 0.7482 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.727e-05/0.624, allocations: 4.875 kB / 0.7482 GB, free: 42.95 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.796e-05/0.624, allocations: 35.86 kB / 0.7482 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.624, allocations: 0 / 0.7482 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.624, allocations: 3.094 kB / 0.7482 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6241, allocations: 4 kB / 0.7482 GB, free: 42.91 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.6242, allocations: 132.7 kB / 0.7483 GB, free: 42.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/0.6242, allocations: 28.17 kB / 0.7484 GB, free: 42.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.214e-05/0.6243, allocations: 11.64 kB / 0.7484 GB, free: 42.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.6244, allocations: 88.7 kB / 0.7485 GB, free: 42.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.6244, allocations: 34.56 kB / 0.7485 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/0.6244, allocations: 0 / 0.7485 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 0.0001782/0.6246, allocations: 48.81 kB / 0.7485 GB, free: 42.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.6247, allocations: 51.41 kB / 0.7486 GB, free: 42.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.703e-05/0.6247, allocations: 90.19 kB / 0.7487 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.6247, allocations: 25.7 kB / 0.7487 GB, free: 42.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.689e-05/0.6247, allocations: 80.14 kB / 0.7488 GB, free: 42.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.6248, allocations: 17.03 kB / 0.7488 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.6248, allocations: 0 / 0.7488 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.6248, allocations: 316.5 kB / 0.7491 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.6249, allocations: 2.844 kB / 0.7491 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-06/0.6249, allocations: 5.125 kB / 0.7491 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.336e-05/0.6249, allocations: 9.484 kB / 0.7491 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6249, allocations: 0 / 0.7491 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.106e-05/0.625, allocations: 46.77 kB / 0.7492 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.625, allocations: 7.625 kB / 0.7492 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.625, allocations: 0 / 0.7492 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.6251, allocations: 0 / 0.7492 GB, free: 41.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.6251, allocations: 10.19 kB / 0.7492 GB, free: 41.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.6251, allocations: 10.84 kB / 0.7492 GB, free: 41.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.6252, allocations: 3.844 kB / 0.7492 GB, free: 41.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.6252, allocations: 0 / 0.7492 GB, free: 41.91 MB / 0.5105 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 () * 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 4.164e-05/0.6252, allocations: 101 kB / 0.7493 GB, free: 41.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.337e-06/0.6253, allocations: 7.812 kB / 0.7493 GB, free: 41.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001191/0.6254, allocations: 55.81 kB / 0.7493 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.6254, allocations: 0 / 0.7493 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6254, allocations: 2 kB / 0.7494 GB, free: 41.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6254, allocations: 4 kB / 0.7494 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.358e-05/0.6255, allocations: 131.5 kB / 0.7495 GB, free: 41.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.6255, allocations: 0 / 0.7495 GB, free: 41.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.6255, allocations: 3.75 kB / 0.7495 GB, free: 41.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.6255, allocations: 0 / 0.7495 GB, free: 41.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.6255, allocations: 7.781 kB / 0.7495 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6255, allocations: 3.703 kB / 0.7495 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.6256, allocations: 0 / 0.7495 GB, free: 41.59 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.818e-05/0.6257, allocations: 73.72 kB / 0.7496 GB, free: 41.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.762e-05/0.6257, allocations: 89.56 kB / 0.7497 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/0.6257, allocations: 0 / 0.7497 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.166e-05/0.6258, allocations: 0 / 0.7497 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.6258, allocations: 1.562 kB / 0.7497 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-06/0.6258, allocations: 4.719 kB / 0.7497 GB, free: 41.43 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.715e-05/0.6258, allocations: 78.47 kB / 0.7497 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001836/0.626, allocations: 17.19 kB / 0.7497 GB, free: 41.35 MB / 0.5105 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 () * 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.0001785/0.6262, allocations: 143.6 kB / 0.7499 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.96e-05/0.6263, allocations: 18.73 kB / 0.7499 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.6263, allocations: 3.938 kB / 0.7499 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.521e-05/0.6263, allocations: 5.844 kB / 0.7499 GB, free: 41.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.6265, allocations: 7.859 kB / 0.7499 GB, free: 41.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002/0.6267, allocations: 57.97 kB / 0.75 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.6268, allocations: 0.6871 MB / 0.7506 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.6268, allocations: 1.422 kB / 0.7506 GB, free: 40.48 MB / 0.5105 GB Notification: Performance of Templates: time 0.002418/0.6292, allocations: 0.7331 MB / 0.7514 GB, free: 40.38 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)