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.001158/0.001158, allocations: 109.4 kB / 15.69 MB, free: 128 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.001222/0.001222, allocations: 187.3 kB / 16.62 MB, free: 6.582 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.353/1.353, allocations: 205.1 MB / 222.5 MB, free: 4.48 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.732/1.732, allocations: 292.3 MB / 0.5489 GB, free: 12.77 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.001538/0.001538, allocations: 68.95 kB / 0.6722 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2222, allocations: 114.6 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TotalAirDryAir): time 0.002596/0.2248, allocations: 1.496 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003006/0.2251, allocations: 127.7 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.284e-05/0.2252, allocations: 0 / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.803e-05/0.2252, allocations: 3.938 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.2253, allocations: 7.922 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2256, allocations: 67.02 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.869e-05/0.2257, allocations: 59.84 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.986e-05/0.2258, allocations: 19.92 kB / 0.7858 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.2259, allocations: 27.92 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.226, allocations: 27.84 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.226, allocations: 4 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.226, allocations: 4 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.269e-05/0.226, allocations: 15.98 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.2261, allocations: 31.84 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.235e-05/0.2262, allocations: 47.88 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2262, allocations: 3.938 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2262, allocations: 0 / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2262, allocations: 0 / 0.786 GB, free: 10.77 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.0004949/0.2267, allocations: 379.2 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2267, allocations: 8.031 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.2268, allocations: 4.938 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.2269, allocations: 176.2 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/0.227, allocations: 34.25 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.227, allocations: 384 / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.2272, allocations: 74.22 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.2272, allocations: 11.94 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.2272, allocations: 7.984 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2272, allocations: 0 / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.2274, allocations: 43.95 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.228, allocations: 312.7 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.2281, allocations: 50.56 kB / 0.7871 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.808e-05/0.2282, allocations: 32.92 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.2283, allocations: 0 / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.2283, allocations: 30.56 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.2283, allocations: 0 / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000347/0.2287, allocations: 105.5 kB / 0.7872 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.2287, allocations: 55.39 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.88e-05/0.2288, allocations: 113.8 kB / 0.7874 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2288, allocations: 25.7 kB / 0.7874 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.2288, allocations: 92.08 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.2289, allocations: 11.88 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.2289, allocations: 21.72 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.677e-05/0.229, allocations: 318.8 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.2291, allocations: 19.98 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.44e-05/0.2292, allocations: 41.69 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.2294, allocations: 57.62 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2294, allocations: 0 / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002311/0.2296, allocations: 93.48 kB / 0.788 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.2297, allocations: 4 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2297, allocations: 7.938 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.2297, allocations: 0 / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.67e-05/0.2298, allocations: 15.92 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2298, allocations: 4 kB / 0.7881 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.2299, allocations: 8.031 kB / 0.7881 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.2299, allocations: 0 / 0.7881 GB, free: 8.41 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.374e-05/0.2299, allocations: 117.8 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.23, allocations: 0 / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.735e-05/0.23, allocations: 15.89 kB / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.23, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.23, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.23, allocations: 0 / 0.7882 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.2302, allocations: 181.4 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2302, allocations: 8 kB / 0.7884 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.935e-05/0.2303, allocations: 11.98 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2303, allocations: 0 / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.2303, allocations: 0 / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2303, allocations: 3.938 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2303, allocations: 240 / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.2306, allocations: 187.6 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.321e-05/0.2306, allocations: 81.02 kB / 0.7886 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2306, allocations: 4 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.2308, allocations: 11.98 kB / 0.7887 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.2308, allocations: 3.984 kB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2308, allocations: 4 kB / 0.7887 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.089e-05/0.2309, allocations: 87.58 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2309, allocations: 0 / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002297/0.2311, allocations: 12 kB / 0.7888 GB, free: 7.594 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.0001026/0.2312, allocations: 103.2 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.2314, allocations: 55.83 kB / 0.7889 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2315, allocations: 0 / 0.7889 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.2316, allocations: 23.98 kB / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.2318, allocations: 10.62 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.2321, allocations: 137.5 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2323, allocations: 0.6807 MB / 0.7897 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.067e-05/0.2324, allocations: 7.984 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.2324, allocations: 11.38 kB / 0.7898 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of SimCode: time 2.91e-07/0.2324, allocations: 4 kB / 0.7898 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of Templates: time 0.002794/0.2352, allocations: 0.7995 MB / 0.7905 GB, free: 5.715 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)