Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004779/0.004779, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.0009885/0.0009886, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.211/1.211, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 251.7 MB / 0.5094 GB, free: 2.973 MB / 414.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.001286/0.001286, allocations: 67.91 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1842, allocations: 104.7 MB / 0.828 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002648/0.1869, allocations: 1.937 MB / 0.8299 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.5901/0.777, allocations: 155.4 MB / 0.9817 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.7773, allocations: 6.031 kB / 0.9817 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.7775, allocations: 23.34 kB / 0.9817 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003135/0.7778, allocations: 70.28 kB / 0.9818 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.7786, allocations: 258.2 kB / 0.982 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.7788, allocations: 264.5 kB / 0.9823 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.779, allocations: 71.95 kB / 0.9823 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.7803, allocations: 243.3 kB / 0.9826 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001357/0.7804, allocations: 92.95 kB / 0.9827 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.427e-05/0.7804, allocations: 14.5 kB / 0.9827 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.7808, allocations: 178 kB / 0.9828 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.7809, allocations: 52.11 kB / 0.9829 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.781, allocations: 84.5 kB / 0.983 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004297/0.7814, allocations: 280.4 kB / 0.9832 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.7815, allocations: 0 / 0.9832 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.262e-06/0.7815, allocations: 0 / 0.9832 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.7815, allocations: 1.25 kB / 0.9832 GB, free: 1.996 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008943/0.7824, allocations: 0.5101 MB / 0.9837 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7824, allocations: 10.41 kB / 0.9837 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007721/0.7832, allocations: 81.55 kB / 0.9838 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.7835, allocations: 222.5 kB / 0.984 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.039e-05/0.7836, allocations: 37.19 kB / 0.9841 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.7836, allocations: 18.62 kB / 0.9841 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.7841, allocations: 261.8 kB / 0.9843 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.7841, allocations: 0 / 0.9843 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.7841, allocations: 10.75 kB / 0.9843 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.862e-06/0.7841, allocations: 4.125 kB / 0.9843 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004084/0.7846, allocations: 172.8 kB / 0.9845 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.7861, allocations: 1.172 MB / 0.9857 GB, free: 72 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006805/0.7868, allocations: 202.9 kB / 0.9859 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.787, allocations: 78.45 kB / 0.9859 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.787, allocations: 1.375 kB / 0.9859 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.787, allocations: 37.19 kB / 0.986 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.787, allocations: 0 / 0.986 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=12): time 0.002376/0.7894, allocations: 0.6242 MB / 0.9866 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.7895, allocations: 52.91 kB / 0.9866 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.7897, allocations: 205 kB / 0.9868 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.7897, allocations: 27.64 kB / 0.9868 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.7898, allocations: 141.6 kB / 0.987 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.7898, allocations: 41.91 kB / 0.987 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.751e-05/0.7899, allocations: 46.44 kB / 0.9871 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.79, allocations: 333.7 kB / 0.9874 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.7903, allocations: 73.69 kB / 0.9875 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/0.7905, allocations: 127.9 kB / 0.9876 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.7909, allocations: 210.5 kB / 0.9878 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.7909, allocations: 0 / 0.9878 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001291/0.7922, allocations: 373.2 kB / 0.9881 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.7922, allocations: 5.438 kB / 0.9881 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.7922, allocations: 1.594 kB / 0.9881 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009838/0.7932, allocations: 162.2 kB / 0.9883 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.7934, allocations: 37.94 kB / 0.9883 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.7971, allocations: 3.248 MB / 0.9915 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.7974, allocations: 32.8 kB / 0.9915 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.7974, allocations: 12.42 kB / 0.9915 GB, free: 11.17 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.7975, allocations: 136.9 kB / 0.9917 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.7976, allocations: 15.31 kB / 0.9917 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.7988, allocations: 375.6 kB / 0.992 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.7988, allocations: 6.516 kB / 0.9921 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-06/0.7988, allocations: 4 kB / 0.9921 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.7988, allocations: 0 / 0.9921 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.7991, allocations: 271.2 kB / 0.9923 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.7991, allocations: 0 / 0.9923 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.7992, allocations: 20.05 kB / 0.9923 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007215/0.7999, allocations: 148.4 kB / 0.9925 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.8, allocations: 3.984 kB / 0.9925 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/0.803, allocations: 3.309 MB / 0.9957 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8031, allocations: 0 / 0.9957 GB, free: 7.207 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.8042, allocations: 432.7 kB / 0.9961 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.934e-05/0.8043, allocations: 113.1 kB / 0.9962 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.8043, allocations: 0 / 0.9962 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.8046, allocations: 19.14 kB / 0.9962 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.8046, allocations: 19.88 kB / 0.9963 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.8047, allocations: 5.312 kB / 0.9963 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001423/0.8048, allocations: 155.7 kB / 0.9964 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8048, allocations: 0 / 0.9964 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003832/0.8052, allocations: 73.69 kB / 0.9965 GB, free: 6.633 MB / 0.7481 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.8054, allocations: 113.9 kB / 0.9966 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008933/0.8063, allocations: 440.9 kB / 0.997 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8063, allocations: 0 / 0.997 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.8069, allocations: 369.4 kB / 0.9974 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.8073, allocations: 61.52 kB / 0.9974 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.808, allocations: 409.5 kB / 0.9978 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.8083, allocations: 0.7243 MB / 0.9985 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001363/0.8084, allocations: 45.91 kB / 0.9986 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.8085, allocations: 24.33 kB / 0.9986 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of SimCode: time 2e-07/0.8085, allocations: 0 / 0.9986 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of Templates: time 0.008333/0.8168, allocations: 5.35 MB / 1.004 GB, free: 2.129 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)