Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 107.2 kB / 16.27 MB, free: 6.109 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.001773/0.001773, allocations: 190.2 kB / 17.2 MB, free: 5.719 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.371/1.371, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8443/0.8443, allocations: 135.2 MB / 426.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.91 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3386, allocations: 80.92 MB / 0.5851 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002335/0.341, allocations: 1.653 MB / 0.5867 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1617/0.5026, allocations: 149.7 MB / 0.7328 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.5028, allocations: 4 kB / 0.7328 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.503, allocations: 23.8 kB / 0.7329 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.5034, allocations: 51.62 kB / 0.7329 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.5039, allocations: 187.2 kB / 0.7331 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.5042, allocations: 151.6 kB / 0.7332 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.5043, allocations: 33.94 kB / 0.7333 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.5057, allocations: 183.5 kB / 0.7334 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.5058, allocations: 63.75 kB / 0.7335 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.5059, allocations: 8 kB / 0.7335 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.5063, allocations: 163.7 kB / 0.7337 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.5063, allocations: 27.91 kB / 0.7337 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.5064, allocations: 47.72 kB / 0.7337 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003888/0.5068, allocations: 203.5 kB / 0.7339 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.5068, allocations: 0 / 0.7339 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.664e-06/0.5068, allocations: 0 / 0.7339 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5068, allocations: 0 / 0.7339 GB, free: 1.645 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009338/0.5078, allocations: 459 kB / 0.7344 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.5078, allocations: 13.11 kB / 0.7344 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00063/0.5085, allocations: 48.78 kB / 0.7344 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.5087, allocations: 206.7 kB / 0.7346 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.5087, allocations: 4 kB / 0.7346 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.5088, allocations: 12 kB / 0.7346 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004646/0.5092, allocations: 185.7 kB / 0.7348 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5092, allocations: 3.984 kB / 0.7348 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.5093, allocations: 0 / 0.7348 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.5093, allocations: 11.94 kB / 0.7348 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005107/0.5098, allocations: 139.8 kB / 0.735 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.511, allocations: 0.8282 MB / 0.7358 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/0.5114, allocations: 130.5 kB / 0.7359 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.5117, allocations: 80.78 kB / 0.736 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.5117, allocations: 4 kB / 0.736 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.5118, allocations: 38.56 kB / 0.736 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.5118, allocations: 0 / 0.736 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001936/0.5137, allocations: 455.5 kB / 0.7365 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.5138, allocations: 55.39 kB / 0.7365 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.5139, allocations: 151.9 kB / 0.7367 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.281e-05/0.5139, allocations: 25.7 kB / 0.7367 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.514, allocations: 107.9 kB / 0.7368 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.5141, allocations: 27.56 kB / 0.7368 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.5142, allocations: 33.69 kB / 0.7368 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5143, allocations: 318.8 kB / 0.7371 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.5146, allocations: 71.88 kB / 0.7372 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.5149, allocations: 104.2 kB / 0.7373 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005224/0.5154, allocations: 180.2 kB / 0.7375 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.5154, allocations: 0 / 0.7375 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001054/0.5165, allocations: 278.1 kB / 0.7377 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5165, allocations: 11.94 kB / 0.7378 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5165, allocations: 0 / 0.7378 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005938/0.5171, allocations: 92.81 kB / 0.7378 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.5173, allocations: 39.89 kB / 0.7379 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.5196, allocations: 1.659 MB / 0.7395 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.5198, allocations: 27.88 kB / 0.7395 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.5199, allocations: 4 kB / 0.7395 GB, free: 11.44 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.52, allocations: 121.8 kB / 0.7397 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.52, allocations: 7.906 kB / 0.7397 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.5212, allocations: 322.8 kB / 0.74 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.5212, allocations: 192 / 0.74 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.5212, allocations: 0 / 0.74 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5212, allocations: 3.984 kB / 0.74 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.5215, allocations: 241.2 kB / 0.7402 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5215, allocations: 4 kB / 0.7402 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.5217, allocations: 39.89 kB / 0.7402 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004627/0.5222, allocations: 76.78 kB / 0.7403 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.5222, allocations: 3.938 kB / 0.7403 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.5243, allocations: 1.678 MB / 0.742 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5243, allocations: 0 / 0.742 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.5254, allocations: 374.4 kB / 0.7423 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-05/0.5255, allocations: 88.92 kB / 0.7424 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.5255, allocations: 4 kB / 0.7424 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5257, allocations: 23.92 kB / 0.7424 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.029e-05/0.5258, allocations: 15.97 kB / 0.7424 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.5258, allocations: 4 kB / 0.7424 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.135e-05/0.5259, allocations: 105.3 kB / 0.7425 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5259, allocations: 0 / 0.7425 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003466/0.5263, allocations: 47.98 kB / 0.7426 GB, free: 8.055 MB / 0.5762 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001916/0.5265, allocations: 119.1 kB / 0.7427 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009471/0.5274, allocations: 310.7 kB / 0.743 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5274, allocations: 0 / 0.743 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.528, allocations: 226.5 kB / 0.7432 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.5283, allocations: 31.98 kB / 0.7433 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008582/0.5292, allocations: 325 kB / 0.7436 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.5295, allocations: 0.7162 MB / 0.7443 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.583e-05/0.5296, allocations: 19.42 kB / 0.7443 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of SimCode: time 7.02e-07/0.5296, allocations: 0 / 0.7443 GB, free: 6.23 MB / 0.5762 GB Notification: Performance of Templates: time 0.005306/0.5349, allocations: 2.737 MB / 0.747 GB, free: 3.5 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)