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: translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 181.7 kB / 16.92 MB, free: 6.734 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.427/1.427, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7035/0.7035, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000317/0.000317, allocations: 8.281 kB / 495.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1701, allocations: 77.53 MB / 0.56 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.Density_pTX): time 0.001902/0.1721, allocations: 1.208 MB / 0.5611 GB, free: 7.801 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4553/0.6274, allocations: 128.5 MB / 0.6867 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.6275, allocations: 4 kB / 0.6867 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.6275, allocations: 0 / 0.6867 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.6276, allocations: 11.88 kB / 0.6867 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003326/0.628, allocations: 63.77 kB / 0.6867 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.472e-05/0.6281, allocations: 43.86 kB / 0.6868 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.085e-05/0.6281, allocations: 18.23 kB / 0.6868 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.75e-05/0.6282, allocations: 15.92 kB / 0.6868 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.017e-05/0.6283, allocations: 27.86 kB / 0.6868 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.6283, allocations: 4 kB / 0.6868 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.569e-05/0.6284, allocations: 15.92 kB / 0.6869 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.6284, allocations: 4 kB / 0.6869 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.6285, allocations: 53.55 kB / 0.6869 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.6286, allocations: 53.19 kB / 0.687 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.6286, allocations: 0 / 0.687 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6286, allocations: 0 / 0.687 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.6286, allocations: 4 kB / 0.687 GB, free: 4.164 MB / 0.4981 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.0005238/0.6292, allocations: 376 kB / 0.6873 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.6292, allocations: 8.031 kB / 0.6873 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.6293, allocations: 12.78 kB / 0.6873 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.6294, allocations: 164.4 kB / 0.6875 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.6294, allocations: 384 / 0.6875 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.6294, allocations: 4.375 kB / 0.6875 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.6297, allocations: 86.2 kB / 0.6876 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6297, allocations: 192 / 0.6876 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.6297, allocations: 11.88 kB / 0.6876 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.6297, allocations: 4 kB / 0.6876 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.6301, allocations: 91.91 kB / 0.6877 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.6305, allocations: 281.6 kB / 0.688 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.6307, allocations: 74.47 kB / 0.688 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.6309, allocations: 52.91 kB / 0.6881 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001785/0.6311, allocations: 89.09 kB / 0.6882 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.6311, allocations: 38.55 kB / 0.6882 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.6311, allocations: 0 / 0.6882 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006041/0.6318, allocations: 165.5 kB / 0.6884 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.6318, allocations: 51.41 kB / 0.6884 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.6319, allocations: 123.4 kB / 0.6885 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.6319, allocations: 25.7 kB / 0.6886 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.632, allocations: 88.08 kB / 0.6886 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.632, allocations: 11.91 kB / 0.6886 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.6321, allocations: 9.719 kB / 0.6887 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6322, allocations: 326.7 kB / 0.689 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.6324, allocations: 39.97 kB / 0.689 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.6325, allocations: 47.95 kB / 0.6891 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.6328, allocations: 84.8 kB / 0.6891 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6329, allocations: 0 / 0.6891 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003651/0.6332, allocations: 129.5 kB / 0.6893 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6332, allocations: 4 kB / 0.6893 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6333, allocations: 0 / 0.6893 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6333, allocations: 0 / 0.6893 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.6334, allocations: 23.98 kB / 0.6893 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6334, allocations: 3.938 kB / 0.6893 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.229e-05/0.6335, allocations: 24.61 kB / 0.6893 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.6336, allocations: 0 / 0.6893 GB, free: 1.52 MB / 0.4981 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 8.271e-05/0.6336, allocations: 125.8 kB / 0.6894 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.6337, allocations: 3.906 kB / 0.6894 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000407/0.6341, allocations: 129.5 kB / 0.6896 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6341, allocations: 0 / 0.6896 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.6341, allocations: 4 kB / 0.6896 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.6341, allocations: 0 / 0.6896 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.6343, allocations: 175.3 kB / 0.6897 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6343, allocations: 0 / 0.6897 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.6344, allocations: 23.98 kB / 0.6898 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.6344, allocations: 0 / 0.6898 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.6344, allocations: 0 / 0.6898 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6345, allocations: 3.938 kB / 0.6898 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.6345, allocations: 0 / 0.6898 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.6349, allocations: 227.4 kB / 0.69 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.6349, allocations: 81.02 kB / 0.69 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.635, allocations: 0 / 0.69 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.6351, allocations: 19.98 kB / 0.6901 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.6351, allocations: 8.406 kB / 0.6901 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.6352, allocations: 0.875 kB / 0.6901 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001353/0.6353, allocations: 96.25 kB / 0.6902 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6353, allocations: 0 / 0.6902 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000235/0.6355, allocations: 12 kB / 0.6902 GB, free: 0.5273 MB / 0.4981 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.0001509/0.6357, allocations: 107.2 kB / 0.6903 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000366/0.6361, allocations: 99.84 kB / 0.6904 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6361, allocations: 0 / 0.6904 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002043/0.6363, allocations: 43.97 kB / 0.6904 GB, free: 280 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.6366, allocations: 19.86 kB / 0.6904 GB, free: 260 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.637, allocations: 184.9 kB / 0.6906 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.6373, allocations: 0.6848 MB / 0.6913 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.045e-05/0.6374, allocations: 7.906 kB / 0.6913 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.6374, allocations: 11.44 kB / 0.6913 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.6374, allocations: 0 / 0.6913 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Templates: time 0.003636/0.641, allocations: 0.8416 MB / 0.6921 GB, free: 14.49 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)