Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004656/0.004656, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001462/0.001462, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002039/0.002039, allocations: 298.1 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9398/0.9398, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 91.86 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4226, allocations: 86.98 MB / 0.7664 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002554/0.4252, allocations: 1.671 MB / 0.768 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006874/0.4259, allocations: 400.5 kB / 0.7684 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.426, allocations: 7.938 kB / 0.7684 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.4261, allocations: 11.86 kB / 0.7684 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.4261, allocations: 15.8 kB / 0.7684 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004269/0.4266, allocations: 123.6 kB / 0.7685 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001598/0.4267, allocations: 107.6 kB / 0.7686 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.4269, allocations: 39.62 kB / 0.7687 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.368e-05/0.427, allocations: 47.84 kB / 0.7687 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.427, allocations: 35.84 kB / 0.7688 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.4271, allocations: 12 kB / 0.7688 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.4272, allocations: 67.94 kB / 0.7688 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.81e-05/0.4272, allocations: 19.92 kB / 0.7689 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.197e-05/0.4273, allocations: 47.72 kB / 0.7689 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.4276, allocations: 130.1 kB / 0.769 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4276, allocations: 0 / 0.769 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4276, allocations: 0 / 0.769 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4276, allocations: 0 / 0.769 GB, free: 1.223 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007132/0.4283, allocations: 423.1 kB / 0.7694 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4284, allocations: 8.031 kB / 0.7694 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002712/0.4286, allocations: 32.81 kB / 0.7695 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.4289, allocations: 196.1 kB / 0.7697 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.429, allocations: 34.27 kB / 0.7697 GB, free: 460 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.429, allocations: 4.375 kB / 0.7697 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.4293, allocations: 110.2 kB / 0.7698 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4293, allocations: 3.938 kB / 0.7698 GB, free: 336 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4293, allocations: 4 kB / 0.7698 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.4293, allocations: 3.984 kB / 0.7698 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.4296, allocations: 79.94 kB / 0.7699 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.4303, allocations: 388.5 kB / 0.7703 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004958/0.4308, allocations: 130.6 kB / 0.7704 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.4309, allocations: 40.83 kB / 0.7704 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.4309, allocations: 0 / 0.7704 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.431, allocations: 46.5 kB / 0.7705 GB, free: 15.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.431, allocations: 0 / 0.7705 GB, free: 15.58 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004103/0.4314, allocations: 133.7 kB / 0.7706 GB, free: 15.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.4314, allocations: 55.39 kB / 0.7706 GB, free: 15.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4315, allocations: 148.4 kB / 0.7708 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.4316, allocations: 25.7 kB / 0.7708 GB, free: 15.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/0.4316, allocations: 104 kB / 0.7709 GB, free: 15.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.4317, allocations: 27.64 kB / 0.7709 GB, free: 15.06 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.4317, allocations: 17.72 kB / 0.7709 GB, free: 15.04 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4318, allocations: 326.8 kB / 0.7713 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.4319, allocations: 27.98 kB / 0.7713 GB, free: 14.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.4321, allocations: 45.69 kB / 0.7713 GB, free: 14.63 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4323, allocations: 77.67 kB / 0.7714 GB, free: 14.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4323, allocations: 0 / 0.7714 GB, free: 14.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002725/0.4326, allocations: 117.5 kB / 0.7715 GB, free: 14.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.4326, allocations: 4 kB / 0.7715 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.4326, allocations: 0 / 0.7715 GB, free: 14.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4326, allocations: 8.031 kB / 0.7715 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4327, allocations: 19.92 kB / 0.7715 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.4327, allocations: 0 / 0.7715 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.4328, allocations: 11.98 kB / 0.7716 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4328, allocations: 0 / 0.7716 GB, free: 14.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.195e-05/0.4329, allocations: 120.2 kB / 0.7717 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.433, allocations: 7.906 kB / 0.7717 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.433, allocations: 16.72 kB / 0.7717 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.433, allocations: 11.92 kB / 0.7717 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.433, allocations: 0 / 0.7717 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.433, allocations: 0 / 0.7717 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.4332, allocations: 197.6 kB / 0.7719 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4332, allocations: 0 / 0.7719 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.4333, allocations: 19.98 kB / 0.7719 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4334, allocations: 0 / 0.7719 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.4334, allocations: 0 / 0.7719 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4334, allocations: 3.938 kB / 0.7719 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4334, allocations: 0 / 0.7719 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.4337, allocations: 215.8 kB / 0.7721 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.4337, allocations: 85.02 kB / 0.7722 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4337, allocations: 0 / 0.7722 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.4339, allocations: 15.92 kB / 0.7722 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.434, allocations: 11.98 kB / 0.7722 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.434, allocations: 0 / 0.7722 GB, free: 13.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.72e-05/0.4341, allocations: 111.2 kB / 0.7723 GB, free: 13.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4341, allocations: 0 / 0.7723 GB, free: 13.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000244/0.4343, allocations: 16 kB / 0.7724 GB, free: 13.48 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 (7): * Single equations (assignments): 7 * 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.0001108/0.4344, allocations: 107.2 kB / 0.7725 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002663/0.4347, allocations: 75.95 kB / 0.7725 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4347, allocations: 0 / 0.7725 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4348, allocations: 44.03 kB / 0.7726 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.4352, allocations: 27.92 kB / 0.7726 GB, free: 13.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004525/0.4357, allocations: 199 kB / 0.7728 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.436, allocations: 0.6963 MB / 0.7735 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.779e-05/0.436, allocations: 12.66 kB / 0.7735 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.4361, allocations: 15.44 kB / 0.7735 GB, free: 12.24 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.4361, allocations: 0 / 0.7735 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Templates: time 0.003866/0.44, allocations: 1.442 MB / 0.7749 GB, free: 10.83 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)