Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 116.1 kB / 17.08 MB, free: 5.832 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.001137/0.001137, allocations: 193.8 kB / 18.02 MB, free: 4.965 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7463/0.7463, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.23 kB / 0.5584 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.126, allocations: 76.19 MB / 0.6328 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002165/0.1282, allocations: 1.268 MB / 0.634 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1293, allocations: 0.6437 MB / 0.6346 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.1293, allocations: 0 / 0.6346 GB, free: 2.477 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.1293, allocations: 4 kB / 0.6346 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.1294, allocations: 7.938 kB / 0.6346 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.1298, allocations: 107.5 kB / 0.6347 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.664e-05/0.1299, allocations: 19.92 kB / 0.6348 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.1299, allocations: 4 kB / 0.6348 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/0.13, allocations: 19.91 kB / 0.6348 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.286e-05/0.13, allocations: 4 kB / 0.6348 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.13, allocations: 0 / 0.6348 GB, free: 2.312 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002597/0.1303, allocations: 147.8 kB / 0.6349 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.1303, allocations: 11.98 kB / 0.6349 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.1304, allocations: 7.938 kB / 0.6349 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1306, allocations: 99.7 kB / 0.635 GB, free: 2.051 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1306, allocations: 0 / 0.635 GB, free: 2.051 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1306, allocations: 0 / 0.635 GB, free: 2.051 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1306, allocations: 4 kB / 0.635 GB, free: 2.047 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004484/0.131, allocations: 347.5 kB / 0.6354 GB, free: 1.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1311, allocations: 8.031 kB / 0.6354 GB, free: 1.648 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004139/0.1315, allocations: 40.8 kB / 0.6354 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1316, allocations: 164.4 kB / 0.6356 GB, free: 1.41 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1316, allocations: 4.375 kB / 0.6356 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1317, allocations: 4.375 kB / 0.6356 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.1318, allocations: 54.22 kB / 0.6356 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.1319, allocations: 192 / 0.6356 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1319, allocations: 11.94 kB / 0.6356 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1319, allocations: 0 / 0.6356 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.132, allocations: 27.91 kB / 0.6357 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.1322, allocations: 169.6 kB / 0.6358 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.1325, allocations: 66.53 kB / 0.6359 GB, free: 1.016 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.431e-05/0.1326, allocations: 28.94 kB / 0.6359 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.1327, allocations: 0 / 0.6359 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1327, allocations: 34.56 kB / 0.636 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/0.1327, allocations: 3.938 kB / 0.636 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.003376/0.1361, allocations: 0.5719 MB / 0.6365 GB, free: 320 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.1361, allocations: 51.41 kB / 0.6366 GB, free: 256 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.014e-05/0.1362, allocations: 101.8 kB / 0.6367 GB, free: 144 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1362, allocations: 25.83 kB / 0.6367 GB, free: 112 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.1363, allocations: 84.14 kB / 0.6368 GB, free: 24 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.1363, allocations: 23.7 kB / 0.6368 GB, free: 0 / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.1364, allocations: 29.69 kB / 0.6368 GB, free: 15.96 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1365, allocations: 314.8 kB / 0.6371 GB, free: 15.65 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.1367, allocations: 39.97 kB / 0.6372 GB, free: 15.61 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1368, allocations: 39.95 kB / 0.6372 GB, free: 15.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002825/0.1371, allocations: 80.81 kB / 0.6373 GB, free: 15.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1371, allocations: 0 / 0.6373 GB, free: 15.49 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003549/0.1375, allocations: 125.6 kB / 0.6374 GB, free: 15.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1375, allocations: 7.938 kB / 0.6374 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1375, allocations: 0 / 0.6374 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1375, allocations: 336 / 0.6374 GB, free: 15.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.1378, allocations: 23.97 kB / 0.6374 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1378, allocations: 3.984 kB / 0.6374 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.1379, allocations: 4 kB / 0.6374 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.138, allocations: 11.98 kB / 0.6374 GB, free: 15.31 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.97e-05/0.138, allocations: 109.8 kB / 0.6376 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.1381, allocations: 11.84 kB / 0.6376 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.986e-05/0.1381, allocations: 11.95 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1382, allocations: 4 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1382, allocations: 7.938 kB / 0.6376 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1382, allocations: 0 / 0.6376 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.1383, allocations: 187.7 kB / 0.6378 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1383, allocations: 0 / 0.6378 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.1386, allocations: 23.97 kB / 0.6378 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1386, allocations: 3.938 kB / 0.6378 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.1386, allocations: 7.984 kB / 0.6378 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1386, allocations: 0 / 0.6378 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1386, allocations: 4.062 kB / 0.6378 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005439/0.1392, allocations: 189 kB / 0.638 GB, free: 14.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.1392, allocations: 85.03 kB / 0.6381 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.1393, allocations: 12.03 kB / 0.6381 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.1395, allocations: 4 kB / 0.6381 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.1395, allocations: 15.92 kB / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1395, allocations: 7.984 kB / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.095e-05/0.1395, allocations: 75.28 kB / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1395, allocations: 0 / 0.6382 GB, free: 14.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1398, allocations: 31.94 kB / 0.6382 GB, free: 14.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002077/0.14, allocations: 133.4 kB / 0.6383 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.1404, allocations: 83.92 kB / 0.6384 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1404, allocations: 4 kB / 0.6384 GB, free: 14.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.1405, allocations: 51.89 kB / 0.6385 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.1408, allocations: 8 kB / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.1414, allocations: 179.7 kB / 0.6386 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.1417, allocations: 0.6846 MB / 0.6393 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.1418, allocations: 19.41 kB / 0.6393 GB, free: 13.21 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1418, allocations: 0 / 0.6393 GB, free: 13.21 MB / 494.1 MB Notification: Performance of Templates: time 0.003062/0.1448, allocations: 1.57 MB / 0.6409 GB, free: 11.64 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)