Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7174/0.7174, allocations: 140.1 MB / 156 MB, free: 5.156 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 187.9 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 426.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007484/0.0007484, allocations: 100.1 kB / 0.4945 GB, free: 8.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001592/0.001592, allocations: 274.5 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004257, allocations: 16 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3349, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.495, allocations: 133.7 MB / 0.8701 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.4953, allocations: 79.95 kB / 0.8701 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003621/0.4989, allocations: 1.628 MB / 0.8717 GB, free: 6.734 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.785e-06/0.499, allocations: 4 kB / 0.8717 GB, free: 6.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.499, allocations: 0 / 0.8717 GB, free: 6.73 MB / 0.5417 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.0002832/0.4993, allocations: 323.6 kB / 0.872 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.4993, allocations: 8.031 kB / 0.872 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.4993, allocations: 5.031 kB / 0.872 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.4995, allocations: 176.2 kB / 0.8722 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.4995, allocations: 34.25 kB / 0.8722 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.4995, allocations: 8.312 kB / 0.8723 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.4997, allocations: 38.25 kB / 0.8723 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4997, allocations: 3.938 kB / 0.8723 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.4997, allocations: 0 / 0.8723 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4997, allocations: 0 / 0.8723 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.406e-05/0.4998, allocations: 15.98 kB / 0.8723 GB, free: 6.031 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001443/0.4999, allocations: 149.7 kB / 0.8725 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.189e-05/0.5, allocations: 42.48 kB / 0.8725 GB, free: 5.785 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.432e-05/0.5001, allocations: 16.94 kB / 0.8725 GB, free: 5.766 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.5002, allocations: 85.11 kB / 0.8726 GB, free: 5.664 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.5003, allocations: 34.55 kB / 0.8726 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.5003, allocations: 0 / 0.8726 GB, free: 5.621 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002225/0.5005, allocations: 61.62 kB / 0.8727 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.399e-05/0.5005, allocations: 55.34 kB / 0.8727 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.596e-05/0.5006, allocations: 101.8 kB / 0.8728 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.5006, allocations: 25.7 kB / 0.8729 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.908e-05/0.5007, allocations: 80.14 kB / 0.8729 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.5007, allocations: 7.906 kB / 0.8729 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.5007, allocations: 0 / 0.8729 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.5008, allocations: 314.8 kB / 0.8732 GB, free: 4.941 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.5009, allocations: 7.984 kB / 0.8733 GB, free: 4.934 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.5009, allocations: 8 kB / 0.8733 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.008e-05/0.501, allocations: 24.84 kB / 0.8733 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.501, allocations: 0 / 0.8733 GB, free: 4.898 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001223/0.5011, allocations: 54.11 kB / 0.8733 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.5011, allocations: 17.58 kB / 0.8734 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.5012, allocations: 0 / 0.8734 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.5012, allocations: 0 / 0.8734 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.5012, allocations: 8 kB / 0.8734 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.5013, allocations: 0 / 0.8734 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.5013, allocations: 0 / 0.8734 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.5013, allocations: 4 kB / 0.8734 GB, free: 4.812 MB / 0.5417 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 6.665e-05/0.5014, allocations: 109.8 kB / 0.8735 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-06/0.5014, allocations: 3.938 kB / 0.8735 GB, free: 4.691 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.5015, allocations: 61.16 kB / 0.8735 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.5016, allocations: 4 kB / 0.8735 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5016, allocations: 3.938 kB / 0.8735 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.5016, allocations: 0 / 0.8735 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.47e-05/0.5017, allocations: 153.7 kB / 0.8737 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5017, allocations: 7.938 kB / 0.8737 GB, free: 4.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.5017, allocations: 7.984 kB / 0.8737 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5017, allocations: 3.938 kB / 0.8737 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.5018, allocations: 0 / 0.8737 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5018, allocations: 0 / 0.8737 GB, free: 4.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5018, allocations: 4 kB / 0.8737 GB, free: 4.395 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.5019, allocations: 65.12 kB / 0.8738 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.502, allocations: 96.94 kB / 0.8739 GB, free: 4.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.502, allocations: 11.94 kB / 0.8739 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.489e-05/0.502, allocations: 0 / 0.8739 GB, free: 4.188 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.5021, allocations: 11.92 kB / 0.8739 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.5021, allocations: 0 / 0.8739 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.125e-05/0.5021, allocations: 75.28 kB / 0.874 GB, free: 4.102 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5021, allocations: 4 kB / 0.874 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001783/0.5023, allocations: 8 kB / 0.874 GB, free: 4.09 MB / 0.5417 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.000188/0.5025, allocations: 152.9 kB / 0.8741 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.5026, allocations: 19.98 kB / 0.8741 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.5027, allocations: 0 / 0.8741 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.995e-05/0.5027, allocations: 11.98 kB / 0.8741 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.5029, allocations: 4 kB / 0.8741 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.5031, allocations: 140.5 kB / 0.8743 GB, free: 3.734 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.5034, allocations: 0.6731 MB / 0.8749 GB, free: 3.035 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.5035, allocations: 7.938 kB / 0.8749 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.5035, allocations: 11.42 kB / 0.875 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.5035, allocations: 0 / 0.875 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.002895/0.5064, allocations: 0.9143 MB / 0.8759 GB, free: 2.109 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)