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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8672/0.8672, allocations: 143.4 MB / 159.2 MB, free: 4.859 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.001359/0.001358, allocations: 183.7 kB / 191.9 MB, free: 5.727 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.417/1.417, allocations: 222.9 MB / 447.3 MB, free: 5.867 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.001267/0.001267, allocations: 111.2 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00197/0.00197, allocations: 291.3 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 75.89 kB / 0.6885 GB, free: 3.867 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4246, allocations: 81.29 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002915/0.4275, allocations: 1.725 MB / 0.7696 GB, free: 25.96 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.000695/0.4283, allocations: 402.8 kB / 0.77 GB, free: 25.57 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.011e-05/0.4284, allocations: 8 kB / 0.77 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.4285, allocations: 7.922 kB / 0.77 GB, free: 25.55 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.754e-05/0.4286, allocations: 15.8 kB / 0.77 GB, free: 25.54 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003892/0.429, allocations: 104.8 kB / 0.7701 GB, free: 25.43 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.4291, allocations: 107.6 kB / 0.7702 GB, free: 25.33 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.4292, allocations: 54.56 kB / 0.7703 GB, free: 25.28 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.4293, allocations: 39.91 kB / 0.7703 GB, free: 25.24 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.4294, allocations: 39.78 kB / 0.7703 GB, free: 25.2 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.4294, allocations: 4 kB / 0.7703 GB, free: 25.2 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.4295, allocations: 59.95 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.548e-05/0.4296, allocations: 19.91 kB / 0.7704 GB, free: 25.12 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.4296, allocations: 47.8 kB / 0.7705 GB, free: 25.07 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001755/0.4298, allocations: 119.6 kB / 0.7706 GB, free: 24.95 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4298, allocations: 4 kB / 0.7706 GB, free: 24.95 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4298, allocations: 0 / 0.7706 GB, free: 24.95 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.4298, allocations: 0 / 0.7706 GB, free: 24.95 MB / 458.7 MB 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.0005133/0.4304, allocations: 419.2 kB / 0.771 GB, free: 24.49 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.4304, allocations: 8.031 kB / 0.771 GB, free: 24.48 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.4306, allocations: 32.73 kB / 0.771 GB, free: 24.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.4308, allocations: 195 kB / 0.7712 GB, free: 24.22 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-05/0.4309, allocations: 38.27 kB / 0.7712 GB, free: 24.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.4309, allocations: 8.375 kB / 0.7713 GB, free: 24.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.4312, allocations: 103.8 kB / 0.7714 GB, free: 24.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.4312, allocations: 3.938 kB / 0.7714 GB, free: 24.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.4312, allocations: 4 kB / 0.7714 GB, free: 24.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4312, allocations: 8 kB / 0.7714 GB, free: 24.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.4314, allocations: 75.88 kB / 0.7714 GB, free: 23.98 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.432, allocations: 388.5 kB / 0.7718 GB, free: 23.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00048/0.4325, allocations: 130.5 kB / 0.7719 GB, free: 23.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.4326, allocations: 44.81 kB / 0.772 GB, free: 23.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.4327, allocations: 0 / 0.772 GB, free: 23.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.4327, allocations: 38.56 kB / 0.772 GB, free: 23.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.4327, allocations: 0 / 0.772 GB, free: 23.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003807/0.4331, allocations: 137.5 kB / 0.7721 GB, free: 23.18 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.4331, allocations: 55.41 kB / 0.7722 GB, free: 23.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.4332, allocations: 139 kB / 0.7723 GB, free: 22.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.4332, allocations: 25.7 kB / 0.7724 GB, free: 22.93 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.4333, allocations: 100.1 kB / 0.7724 GB, free: 22.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.4333, allocations: 23.66 kB / 0.7725 GB, free: 22.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.4333, allocations: 21.72 kB / 0.7725 GB, free: 22.78 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.4334, allocations: 318.8 kB / 0.7728 GB, free: 22.46 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.6e-05/0.4335, allocations: 31.97 kB / 0.7728 GB, free: 22.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/0.4336, allocations: 41.86 kB / 0.7729 GB, free: 22.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.4338, allocations: 85.66 kB / 0.7729 GB, free: 22.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.4338, allocations: 3.938 kB / 0.773 GB, free: 22.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002337/0.434, allocations: 105.6 kB / 0.7731 GB, free: 22.18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.434, allocations: 8 kB / 0.7731 GB, free: 22.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4341, allocations: 3.938 kB / 0.7731 GB, free: 22.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.4341, allocations: 0 / 0.7731 GB, free: 22.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.4342, allocations: 27.89 kB / 0.7731 GB, free: 22.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.4342, allocations: 4 kB / 0.7731 GB, free: 22.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.66e-05/0.4343, allocations: 11.89 kB / 0.7731 GB, free: 22.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.4343, allocations: 0 / 0.7731 GB, free: 22.12 MB / 458.7 MB 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 6.097e-05/0.4344, allocations: 114.6 kB / 0.7732 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.4344, allocations: 7.906 kB / 0.7732 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.4344, allocations: 20.7 kB / 0.7732 GB, free: 21.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4344, allocations: 3.938 kB / 0.7732 GB, free: 21.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.4345, allocations: 4 kB / 0.7733 GB, free: 21.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4345, allocations: 3.984 kB / 0.7733 GB, free: 21.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.4346, allocations: 201.6 kB / 0.7734 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.4346, allocations: 0 / 0.7734 GB, free: 21.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.089e-05/0.4347, allocations: 12 kB / 0.7735 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.4347, allocations: 3.984 kB / 0.7735 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.4347, allocations: 8 kB / 0.7735 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4348, allocations: 7.875 kB / 0.7735 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4348, allocations: 0.5469 kB / 0.7735 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004634/0.4352, allocations: 0.798 MB / 0.7743 GB, free: 20.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.806e-05/0.4353, allocations: 84.95 kB / 0.7743 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.4353, allocations: 3.938 kB / 0.7743 GB, free: 20.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.4354, allocations: 15.98 kB / 0.7744 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.4355, allocations: 11.98 kB / 0.7744 GB, free: 20.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.4355, allocations: 0 / 0.7744 GB, free: 20.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.559e-05/0.4355, allocations: 104.5 kB / 0.7745 GB, free: 20.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4356, allocations: 0 / 0.7745 GB, free: 20.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003254/0.4359, allocations: 20 kB / 0.7745 GB, free: 20.58 MB / 458.7 MB 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 8.945e-05/0.436, allocations: 103.2 kB / 0.7746 GB, free: 20.47 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.4362, allocations: 75.89 kB / 0.7747 GB, free: 20.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4362, allocations: 0 / 0.7747 GB, free: 20.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.661e-05/0.4363, allocations: 35.98 kB / 0.7747 GB, free: 20.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.4367, allocations: 30.58 kB / 0.7747 GB, free: 20.33 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.4372, allocations: 351.7 kB / 0.7751 GB, free: 19.95 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.4373, allocations: 0.6965 MB / 0.7757 GB, free: 19.22 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.242e-05/0.4374, allocations: 12.66 kB / 0.7757 GB, free: 19.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.4374, allocations: 15.38 kB / 0.7758 GB, free: 19.19 MB / 458.7 MB Notification: Performance of SimCode: time 8.22e-07/0.4374, allocations: 0 / 0.7758 GB, free: 19.19 MB / 458.7 MB Notification: Performance of Templates: time 0.003147/0.4406, allocations: 1.365 MB / 0.7771 GB, free: 17.86 MB / 458.7 MB 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)