Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 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.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8017/0.8017, allocations: 143.4 MB / 159.2 MB, free: 4.848 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 192.5 kB / 191.9 MB, free: 5.699 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 222.9 MB / 447.3 MB, free: 5.852 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 103.1 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001865/0.001865, allocations: 283 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 83.88 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3696, allocations: 81.29 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002387/0.3721, allocations: 1.555 MB / 0.7694 GB, free: 26.09 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.1253/0.4973, allocations: 129.9 MB / 0.8963 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.4974, allocations: 0 / 0.8963 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.736e-05/0.4975, allocations: 0 / 0.8963 GB, free: 7.664 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.4976, allocations: 15.84 kB / 0.8963 GB, free: 7.648 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.4979, allocations: 62.34 kB / 0.8964 GB, free: 7.594 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.874e-05/0.498, allocations: 51.8 kB / 0.8964 GB, free: 7.543 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.4981, allocations: 15.98 kB / 0.8965 GB, free: 7.527 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 4.954e-05/0.4982, allocations: 23.91 kB / 0.8965 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.266e-05/0.4982, allocations: 19.92 kB / 0.8965 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.4982, allocations: 4 kB / 0.8965 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.518e-05/0.4983, allocations: 15.98 kB / 0.8965 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.4984, allocations: 7.938 kB / 0.8965 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.4984, allocations: 19.92 kB / 0.8966 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.4985, allocations: 59.73 kB / 0.8966 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4985, allocations: 0 / 0.8966 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4985, allocations: 3.938 kB / 0.8966 GB, free: 7.375 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4985, allocations: 4 kB / 0.8966 GB, free: 7.371 MB / 0.5573 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.0005428/0.4991, allocations: 375.3 kB / 0.897 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.4991, allocations: 12.03 kB / 0.897 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.4992, allocations: 4.844 kB / 0.897 GB, free: 6.938 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4993, allocations: 172.2 kB / 0.8972 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.4993, allocations: 4.375 kB / 0.8972 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.4994, allocations: 384 / 0.8972 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002509/0.4996, allocations: 78.2 kB / 0.8972 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4996, allocations: 192 / 0.8972 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.4997, allocations: 3.938 kB / 0.8972 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.4997, allocations: 0 / 0.8972 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.5, allocations: 75.86 kB / 0.8973 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.5003, allocations: 284.7 kB / 0.8976 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.5005, allocations: 50.55 kB / 0.8976 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.5007, allocations: 40.91 kB / 0.8977 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.5008, allocations: 93.09 kB / 0.8978 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.5009, allocations: 38.48 kB / 0.8978 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.5009, allocations: 0 / 0.8978 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0005339/0.5014, allocations: 125.6 kB / 0.8979 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.5015, allocations: 59.41 kB / 0.898 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.5016, allocations: 117.8 kB / 0.8981 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.5016, allocations: 25.7 kB / 0.8981 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.5016, allocations: 92.14 kB / 0.8982 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.5016, allocations: 11.88 kB / 0.8982 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.5017, allocations: 13.72 kB / 0.8982 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.5018, allocations: 322.8 kB / 0.8985 GB, free: 5.176 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5019, allocations: 35.97 kB / 0.8986 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.5021, allocations: 31.95 kB / 0.8986 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.5023, allocations: 72.72 kB / 0.8987 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.5023, allocations: 0 / 0.8987 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003104/0.5027, allocations: 97.62 kB / 0.8988 GB, free: 4.934 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5027, allocations: 8 kB / 0.8988 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5027, allocations: 0 / 0.8988 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5027, allocations: 0 / 0.8988 GB, free: 4.926 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.5028, allocations: 11.98 kB / 0.8988 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5028, allocations: 4 kB / 0.8988 GB, free: 4.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.24e-05/0.5029, allocations: 23.81 kB / 0.8988 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.5029, allocations: 7.938 kB / 0.8988 GB, free: 4.879 MB / 0.5573 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 6.222e-05/0.503, allocations: 118.2 kB / 0.8989 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.503, allocations: 4 kB / 0.8989 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.5034, allocations: 105.5 kB / 0.899 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5034, allocations: 4 kB / 0.899 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.5034, allocations: 0 / 0.899 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.5034, allocations: 4 kB / 0.899 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.5036, allocations: 173.6 kB / 0.8992 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5036, allocations: 0 / 0.8992 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.5037, allocations: 15.98 kB / 0.8992 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.5037, allocations: 0 / 0.8992 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.5037, allocations: 0 / 0.8992 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5037, allocations: 0 / 0.8992 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.5037, allocations: 4 kB / 0.8992 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007235/0.5045, allocations: 0.7785 MB / 0.9 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.5045, allocations: 85.02 kB / 0.9001 GB, free: 3.453 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.5046, allocations: 8.406 kB / 0.9001 GB, free: 3.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5047, allocations: 11.98 kB / 0.9001 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.5047, allocations: 11.81 kB / 0.9001 GB, free: 3.422 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5047, allocations: 8 kB / 0.9001 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.5048, allocations: 91.27 kB / 0.9002 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5048, allocations: 0 / 0.9002 GB, free: 3.324 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003136/0.5051, allocations: 16 kB / 0.9002 GB, free: 3.309 MB / 0.5573 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.0001331/0.5052, allocations: 107.2 kB / 0.9003 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003213/0.5056, allocations: 71.91 kB / 0.9004 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5056, allocations: 0 / 0.9004 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.5057, allocations: 39.95 kB / 0.9004 GB, free: 3.086 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.506, allocations: 12 kB / 0.9004 GB, free: 3.074 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.5064, allocations: 280.3 kB / 0.9007 GB, free: 2.758 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.5066, allocations: 0.6809 MB / 0.9014 GB, free: 2.051 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.568e-05/0.5066, allocations: 8 kB / 0.9014 GB, free: 2.043 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.5067, allocations: 11.44 kB / 0.9014 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of SimCode: time 1.262e-06/0.5067, allocations: 0 / 0.9014 GB, free: 2.031 MB / 0.5573 GB Notification: Performance of Templates: time 0.002685/0.5094, allocations: 0.8801 MB / 0.9022 GB, free: 1.164 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)