Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") translateModel(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009596/0.0009597, allocations: 192.2 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 64.97 kB / 0.6708 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.217, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002881/0.2199, allocations: 1.561 MB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003401/0.2203, allocations: 128.7 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.2204, allocations: 4 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.2204, allocations: 3.984 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.2205, allocations: 3.938 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000309/0.2208, allocations: 63.91 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.2209, allocations: 55.84 kB / 0.7844 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.221, allocations: 19.98 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.2211, allocations: 19.92 kB / 0.7845 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.2212, allocations: 31.83 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2212, allocations: 4 kB / 0.7845 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.61e-05/0.2212, allocations: 4 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.2212, allocations: 7.984 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.2213, allocations: 27.86 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.586e-05/0.2214, allocations: 44.14 kB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.2214, allocations: 4 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2214, allocations: 0 / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.2214, allocations: 4 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005156/0.2219, allocations: 379.2 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.222, allocations: 8.031 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.222, allocations: 4.938 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.2221, allocations: 168.3 kB / 0.7851 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.2222, allocations: 30.27 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.2222, allocations: 384 / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.2224, allocations: 86.09 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2225, allocations: 3.938 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.2225, allocations: 3.984 kB / 0.7853 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2225, allocations: 7.938 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.2227, allocations: 43.95 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.2233, allocations: 316.8 kB / 0.7856 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.2234, allocations: 50.5 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.374e-05/0.2235, allocations: 32.92 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.2236, allocations: 0 / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2236, allocations: 34.56 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2236, allocations: 0 / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003596/0.224, allocations: 101.5 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.224, allocations: 51.41 kB / 0.7859 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.2241, allocations: 113.8 kB / 0.786 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.2241, allocations: 25.7 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.2242, allocations: 96.06 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.24e-05/0.2242, allocations: 11.81 kB / 0.7861 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.2242, allocations: 17.72 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.5e-05/0.2243, allocations: 318.8 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.2244, allocations: 19.98 kB / 0.7864 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.193e-05/0.2245, allocations: 45.69 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.2247, allocations: 53.69 kB / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2247, allocations: 0 / 0.7865 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000213/0.2249, allocations: 89.73 kB / 0.7866 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.2249, allocations: 4 kB / 0.7866 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.2249, allocations: 7.984 kB / 0.7866 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.225, allocations: 8.016 kB / 0.7866 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.851e-05/0.2251, allocations: 8 kB / 0.7866 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2251, allocations: 3.938 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.693e-05/0.2251, allocations: 11.98 kB / 0.7867 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2251, allocations: 0 / 0.7867 GB, free: 9.684 MB / 0.6075 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 (5): * Single equations (assignments): 5 * 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 7.251e-05/0.2252, allocations: 117.8 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.2253, allocations: 0 / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.2253, allocations: 7.891 kB / 0.7868 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2253, allocations: 8 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2253, allocations: 0 / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2253, allocations: 3.938 kB / 0.7868 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.2255, allocations: 185.4 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2255, allocations: 0 / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.066e-05/0.2256, allocations: 12 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2256, allocations: 0 / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.2256, allocations: 0 / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2256, allocations: 0 / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2256, allocations: 3.984 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.2259, allocations: 183.4 kB / 0.7872 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.2259, allocations: 84.95 kB / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.2259, allocations: 0 / 0.7872 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.2261, allocations: 11.98 kB / 0.7873 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.2261, allocations: 3.984 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2261, allocations: 4 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.2262, allocations: 87.59 kB / 0.7873 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2262, allocations: 0 / 0.7873 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002201/0.2264, allocations: 8 kB / 0.7874 GB, free: 8.875 MB / 0.6075 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 (4): * Single equations (assignments): 4 * 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.0001091/0.2265, allocations: 107.2 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.2267, allocations: 55.83 kB / 0.7875 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2267, allocations: 0 / 0.7875 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.2268, allocations: 28.05 kB / 0.7875 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.2271, allocations: 4 kB / 0.7875 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.2274, allocations: 143.2 kB / 0.7877 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2276, allocations: 0.6848 MB / 0.7883 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.224e-05/0.2277, allocations: 4 kB / 0.7883 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.2277, allocations: 11.44 kB / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.2277, allocations: 0 / 0.7884 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of Templates: time 0.002474/0.2302, allocations: 0.7222 MB / 0.7891 GB, free: 7.062 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)