Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.064/2.064, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 195.4 kB / 499.1 MB, free: 4.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 109.8 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001008/0.001009, allocations: 56.83 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2162, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002491/0.2187, allocations: 1.921 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1114/0.3301, allocations: 153.1 MB / 1.37 GB, free: 9.637 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.3303, allocations: 8 kB / 1.37 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.3305, allocations: 19.84 kB / 1.37 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.3307, allocations: 55.61 kB / 1.37 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.3312, allocations: 235.4 kB / 1.37 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3314, allocations: 247.2 kB / 1.37 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.3316, allocations: 64.33 kB / 1.37 GB, free: 9.02 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002006/0.3336, allocations: 229.7 kB / 1.37 GB, free: 8.812 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.3337, allocations: 87.66 kB / 1.37 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.3337, allocations: 8 kB / 1.37 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.334, allocations: 171.7 kB / 1.371 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.3341, allocations: 47.81 kB / 1.371 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.3342, allocations: 79.59 kB / 1.371 GB, free: 8.426 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.3345, allocations: 267.2 kB / 1.371 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3345, allocations: 4 kB / 1.371 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.21e-07/0.3345, allocations: 0 / 1.371 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.3345, allocations: 3.938 kB / 1.371 GB, free: 8.156 MB / 0.8698 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.0008267/0.3353, allocations: 0.5146 MB / 1.371 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3354, allocations: 11.98 kB / 1.371 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007386/0.3361, allocations: 83.73 kB / 1.372 GB, free: 7.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.3363, allocations: 218.6 kB / 1.372 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/0.3364, allocations: 45.91 kB / 1.372 GB, free: 7.195 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.3365, allocations: 20 kB / 1.372 GB, free: 7.176 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004528/0.3369, allocations: 260.6 kB / 1.372 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3369, allocations: 4 kB / 1.372 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.337, allocations: 4 kB / 1.372 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.337, allocations: 4 kB / 1.372 GB, free: 6.883 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.3374, allocations: 175.7 kB / 1.372 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.3388, allocations: 1.165 MB / 1.373 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006685/0.3395, allocations: 202.6 kB / 1.374 GB, free: 5.262 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.3397, allocations: 80.75 kB / 1.374 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.3397, allocations: 0 / 1.374 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3397, allocations: 38.56 kB / 1.374 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.3397, allocations: 0 / 1.374 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12): time 0.002457/0.3422, allocations: 0.6219 MB / 1.374 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.3422, allocations: 55.41 kB / 1.374 GB, free: 4.395 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.3424, allocations: 202.2 kB / 1.375 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.3425, allocations: 25.7 kB / 1.375 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.3425, allocations: 143.5 kB / 1.375 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.3426, allocations: 39.45 kB / 1.375 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/0.3427, allocations: 53.58 kB / 1.375 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/0.3428, allocations: 334.7 kB / 1.375 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.343, allocations: 67.95 kB / 1.375 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.3432, allocations: 129 kB / 1.375 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.3436, allocations: 205.7 kB / 1.376 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3436, allocations: 0 / 1.376 GB, free: 3.133 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001338/0.3449, allocations: 374.7 kB / 1.376 GB, free: 2.754 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.345, allocations: 8 kB / 1.376 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.345, allocations: 0 / 1.376 GB, free: 2.746 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009741/0.346, allocations: 165.8 kB / 1.376 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.3462, allocations: 43.89 kB / 1.376 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.3494, allocations: 3.031 MB / 1.379 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.3497, allocations: 31.89 kB / 1.379 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3497, allocations: 11.98 kB / 1.379 GB, free: 15.19 MB / 0.8855 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.000102/0.3499, allocations: 126.4 kB / 1.379 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.675e-05/0.3499, allocations: 15.81 kB / 1.379 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.3511, allocations: 376.2 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3511, allocations: 4 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.3511, allocations: 0 / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3511, allocations: 7.938 kB / 1.38 GB, free: 14.65 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.3514, allocations: 269.4 kB / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3514, allocations: 0 / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.3515, allocations: 19.98 kB / 1.38 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009085/0.3524, allocations: 165.7 kB / 1.38 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3525, allocations: 0 / 1.38 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.3554, allocations: 3.088 MB / 1.383 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3555, allocations: 0 / 1.383 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.357, allocations: 1.071 MB / 1.384 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-05/0.3571, allocations: 116.8 kB / 1.384 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.3571, allocations: 0 / 1.384 GB, free: 9.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.3574, allocations: 15.98 kB / 1.384 GB, free: 9.504 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.3574, allocations: 15.97 kB / 1.384 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.3575, allocations: 8 kB / 1.384 GB, free: 9.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001457/0.3576, allocations: 155 kB / 1.384 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3576, allocations: 0 / 1.384 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004328/0.3581, allocations: 75.94 kB / 1.384 GB, free: 9.254 MB / 0.8855 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.0001522/0.3582, allocations: 108 kB / 1.385 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008935/0.3591, allocations: 440.7 kB / 1.385 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3591, allocations: 4.438 kB / 1.385 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.3597, allocations: 357.2 kB / 1.385 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.3602, allocations: 60.83 kB / 1.385 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008619/0.361, allocations: 0.6083 MB / 1.386 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.3613, allocations: 0.7285 MB / 1.387 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001819/0.3615, allocations: 41.92 kB / 1.387 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3615, allocations: 19.42 kB / 1.387 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of SimCode: time 2.81e-07/0.3615, allocations: 0 / 1.387 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of Templates: time 0.007962/0.3695, allocations: 5.145 MB / 1.392 GB, free: 1.699 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)