Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001369/0.00137, 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.00153/0.00153, allocations: 193.6 kB / 16.14 MB, free: 6.641 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.483/1.483, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002489/0.002489, allocations: 274.5 kB / 290.2 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.088/1.088, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002782, allocations: 97.97 kB / 0.6057 GB, free: 25.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1708, allocations: 89.15 MB / 0.6928 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004288/0.1751, allocations: 1.981 MB / 0.6947 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.532/0.7071, allocations: 153.1 MB / 0.8443 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.7073, allocations: 1.531 kB / 0.8443 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001758/0.7076, allocations: 25.95 kB / 0.8443 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.7079, allocations: 56.73 kB / 0.8443 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006646/0.7085, allocations: 241.5 kB / 0.8446 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.7088, allocations: 250.7 kB / 0.8448 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.709, allocations: 67.94 kB / 0.8449 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.7112, allocations: 225.7 kB / 0.8451 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.7113, allocations: 93.84 kB / 0.8452 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.549e-05/0.7114, allocations: 9.625 kB / 0.8452 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.7118, allocations: 184.7 kB / 0.8454 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.7118, allocations: 40.17 kB / 0.8454 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.712, allocations: 85.5 kB / 0.8455 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004201/0.7124, allocations: 271.5 kB / 0.8457 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7124, allocations: 0 / 0.8457 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.001e-06/0.7124, allocations: 1.156 kB / 0.8457 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.7124, allocations: 0 / 0.8457 GB, free: 7.207 MB / 0.5762 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.001108/0.7135, allocations: 0.5277 MB / 0.8463 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.7136, allocations: 13.72 kB / 0.8463 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009497/0.7145, allocations: 84.58 kB / 0.8464 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.7149, allocations: 225 kB / 0.8466 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.715, allocations: 44.78 kB / 0.8466 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.715, allocations: 14.78 kB / 0.8466 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005956/0.7156, allocations: 264 kB / 0.8469 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.7156, allocations: 1.281 kB / 0.8469 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.7157, allocations: 6.594 kB / 0.8469 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.7157, allocations: 4.406 kB / 0.8469 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.7162, allocations: 172.3 kB / 0.8471 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.718, allocations: 1.17 MB / 0.8482 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007866/0.7188, allocations: 206.8 kB / 0.8484 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.7189, allocations: 75.81 kB / 0.8485 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.719, allocations: 6.281 kB / 0.8485 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.719, allocations: 30.56 kB / 0.8485 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.719, allocations: 0 / 0.8485 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.002872/0.7219, allocations: 0.6373 MB / 0.8491 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.722, allocations: 58 kB / 0.8492 GB, free: 4.293 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.7222, allocations: 209.6 kB / 0.8494 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.7223, allocations: 29.7 kB / 0.8494 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.7224, allocations: 135.3 kB / 0.8495 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.7224, allocations: 47.17 kB / 0.8496 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.7225, allocations: 48.06 kB / 0.8496 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7227, allocations: 333.7 kB / 0.8499 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/0.7229, allocations: 69.92 kB / 0.85 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.7232, allocations: 127.2 kB / 0.8501 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.7237, allocations: 202.9 kB / 0.8503 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7237, allocations: 0 / 0.8503 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001593/0.7253, allocations: 376.9 kB / 0.8507 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.7253, allocations: 5.531 kB / 0.8507 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7253, allocations: 0 / 0.8507 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.7265, allocations: 167.8 kB / 0.8509 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.7268, allocations: 34.16 kB / 0.8509 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.7309, allocations: 3.041 MB / 0.8539 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.7313, allocations: 35.02 kB / 0.8539 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.7313, allocations: 9.547 kB / 0.8539 GB, free: 15.96 MB / 0.5919 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.0001488/0.7315, allocations: 131.8 kB / 0.854 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.7315, allocations: 19.66 kB / 0.854 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.7329, allocations: 372.8 kB / 0.8544 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7329, allocations: 6.516 kB / 0.8544 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.7329, allocations: 9.875 kB / 0.8544 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.7329, allocations: 2.938 kB / 0.8544 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003516/0.7333, allocations: 274.1 kB / 0.8547 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7333, allocations: 0 / 0.8547 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.7335, allocations: 23.06 kB / 0.8547 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.7345, allocations: 162 kB / 0.8549 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.7345, allocations: 3.984 kB / 0.8549 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/0.7384, allocations: 3.072 MB / 0.8579 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7384, allocations: 5.5 kB / 0.8579 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.7397, allocations: 429.2 kB / 0.8583 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.7399, allocations: 114.8 kB / 0.8584 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.7399, allocations: 4.188 kB / 0.8584 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.7402, allocations: 22.81 kB / 0.8584 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.7403, allocations: 19.25 kB / 0.8584 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.7403, allocations: 10.77 kB / 0.8584 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001939/0.7405, allocations: 157.2 kB / 0.8586 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7406, allocations: 0 / 0.8586 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004405/0.741, allocations: 76.86 kB / 0.8587 GB, free: 11.64 MB / 0.5919 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.0001879/0.7412, allocations: 115.8 kB / 0.8588 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.7423, allocations: 440 kB / 0.8592 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.7423, allocations: 0 / 0.8592 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007012/0.743, allocations: 356.6 kB / 0.8595 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.7434, allocations: 52.73 kB / 0.8596 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.7444, allocations: 0.4905 MB / 0.8601 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.7448, allocations: 0.7372 MB / 0.8608 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002185/0.7451, allocations: 40.2 kB / 0.8608 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.02e-05/0.7451, allocations: 21.56 kB / 0.8608 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of SimCode: time 2.535e-06/0.7451, allocations: 0 / 0.8608 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of Templates: time 0.01064/0.7558, allocations: 4.962 MB / 0.8657 GB, free: 7.273 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)