Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.008748/0.008748, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001852/0.001852, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8074/0.8074, allocations: 135.1 MB / 425.7 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 71.56 kB / 0.5856 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1906, allocations: 80.92 MB / 0.6646 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003192/0.1939, allocations: 1.885 MB / 0.6665 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6287/0.8226, allocations: 155.4 MB / 0.8182 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.8228, allocations: 1.375 kB / 0.8182 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.8231, allocations: 30.05 kB / 0.8183 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.8234, allocations: 74.72 kB / 0.8183 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.8243, allocations: 271.5 kB / 0.8186 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.8245, allocations: 260.6 kB / 0.8188 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.8247, allocations: 59.98 kB / 0.8189 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.8261, allocations: 240.3 kB / 0.8191 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.8262, allocations: 90.11 kB / 0.8192 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.13e-05/0.8262, allocations: 15.47 kB / 0.8192 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.8266, allocations: 185.7 kB / 0.8194 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.8267, allocations: 44.62 kB / 0.8194 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.8268, allocations: 83.28 kB / 0.8195 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.8272, allocations: 276.6 kB / 0.8198 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8272, allocations: 4 kB / 0.8198 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.083e-06/0.8272, allocations: 0 / 0.8198 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.8273, allocations: 0 / 0.8198 GB, free: 7.094 MB / 0.5919 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.001004/0.8283, allocations: 0.5181 MB / 0.8203 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.8283, allocations: 8.734 kB / 0.8203 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008139/0.8291, allocations: 84.95 kB / 0.8204 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.8295, allocations: 226.3 kB / 0.8206 GB, free: 6.379 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.607e-05/0.8296, allocations: 36.97 kB / 0.8206 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.8296, allocations: 21 kB / 0.8207 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.8301, allocations: 258.8 kB / 0.8209 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.8301, allocations: 2.875 kB / 0.8209 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.8302, allocations: 4 kB / 0.8209 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8302, allocations: 5.125 kB / 0.8209 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.8306, allocations: 174.2 kB / 0.8211 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00166/0.8323, allocations: 1.182 MB / 0.8222 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007325/0.833, allocations: 205.8 kB / 0.8224 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.8332, allocations: 74.8 kB / 0.8225 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.8332, allocations: 3.062 kB / 0.8225 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8333, allocations: 34.56 kB / 0.8225 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.8333, allocations: 0 / 0.8225 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.002552/0.8358, allocations: 0.6215 MB / 0.8231 GB, free: 4.324 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.8359, allocations: 51.41 kB / 0.8232 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.8361, allocations: 202.2 kB / 0.8234 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.8362, allocations: 36.23 kB / 0.8234 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.8363, allocations: 143.4 kB / 0.8236 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.8363, allocations: 41.03 kB / 0.8236 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/0.8364, allocations: 48.91 kB / 0.8236 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8365, allocations: 329.3 kB / 0.824 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.8367, allocations: 72.62 kB / 0.824 GB, free: 3.492 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.837, allocations: 131.8 kB / 0.8242 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.8374, allocations: 205.1 kB / 0.8243 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8374, allocations: 0 / 0.8243 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001308/0.8387, allocations: 372 kB / 0.8247 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8387, allocations: 11.48 kB / 0.8247 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8388, allocations: 4 kB / 0.8247 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.8398, allocations: 153.9 kB / 0.8249 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.84, allocations: 37.73 kB / 0.8249 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00413/0.8442, allocations: 3.25 MB / 0.8281 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003412/0.8445, allocations: 39.27 kB / 0.8281 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.8446, allocations: 13.02 kB / 0.8281 GB, free: 15.71 MB / 0.6075 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.0001903/0.8447, allocations: 133.1 kB / 0.8283 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.8448, allocations: 19.09 kB / 0.8283 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/0.8461, allocations: 372.1 kB / 0.8286 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.8462, allocations: 2.031 kB / 0.8286 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.8462, allocations: 3.219 kB / 0.8286 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.8462, allocations: 0 / 0.8286 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.8465, allocations: 275.8 kB / 0.8289 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8465, allocations: 0 / 0.8289 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.8466, allocations: 25.36 kB / 0.8289 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000766/0.8474, allocations: 144.1 kB / 0.8291 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.8474, allocations: 0 / 0.8291 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.8517, allocations: 3.31 MB / 0.8323 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.8518, allocations: 2.094 kB / 0.8323 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.853, allocations: 428.1 kB / 0.8327 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.8532, allocations: 111.7 kB / 0.8328 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.8532, allocations: 2.906 kB / 0.8328 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.8535, allocations: 19.11 kB / 0.8328 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/0.8535, allocations: 11.8 kB / 0.8328 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.8536, allocations: 10.89 kB / 0.8328 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001746/0.8538, allocations: 147.8 kB / 0.833 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8538, allocations: 0 / 0.833 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004195/0.8542, allocations: 78.31 kB / 0.8331 GB, free: 11.2 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 (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.0002469/0.8544, allocations: 109.5 kB / 0.8332 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.8555, allocations: 443.7 kB / 0.8336 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8555, allocations: 0 / 0.8336 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006148/0.8562, allocations: 362.9 kB / 0.8339 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004215/0.8566, allocations: 61.25 kB / 0.834 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009084/0.8575, allocations: 412.4 kB / 0.8344 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.8579, allocations: 0.7276 MB / 0.8351 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.8581, allocations: 37.08 kB / 0.8351 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.578e-05/0.8581, allocations: 21.52 kB / 0.8352 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of SimCode: time 4.5e-07/0.8581, allocations: 0 / 0.8352 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of Templates: time 0.01025/0.8684, allocations: 5.349 MB / 0.8404 GB, free: 6.703 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)