Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.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.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.0008972, allocations: 91.77 kB / 16.67 MB, free: 6.586 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.000814/0.000814, allocations: 178.8 kB / 17.58 MB, free: 6.184 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.326/1.326, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7192/0.7192, allocations: 115.5 MB / 408.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003556, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3645, allocations: 77.52 MB / 0.5606 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0006926/0.3652, allocations: 360.7 kB / 0.5609 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.3668, allocations: 1.45 MB / 0.5624 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.3668, allocations: 0 / 0.5624 GB, free: 34.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.3669, allocations: 6.219 kB / 0.5624 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.179e-05/0.367, allocations: 4.047 kB / 0.5624 GB, free: 34.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.3673, allocations: 95.45 kB / 0.5625 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.172e-05/0.3673, allocations: 25.8 kB / 0.5625 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.468e-05/0.3674, allocations: 2.688 kB / 0.5625 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.3674, allocations: 15.67 kB / 0.5625 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.3675, allocations: 24.25 kB / 0.5625 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3675, allocations: 2.469 kB / 0.5625 GB, free: 34.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004006/0.3679, allocations: 322 kB / 0.5628 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.3679, allocations: 3.281 kB / 0.5628 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.368, allocations: 37.23 kB / 0.5629 GB, free: 33.89 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.3682, allocations: 134.6 kB / 0.563 GB, free: 33.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3682, allocations: 0 / 0.563 GB, free: 33.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3682, allocations: 1.25 kB / 0.563 GB, free: 33.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.3682, allocations: 4.719 kB / 0.563 GB, free: 33.86 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000414/0.3686, allocations: 370.1 kB / 0.5634 GB, free: 33.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3687, allocations: 15.73 kB / 0.5634 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003799/0.3691, allocations: 71.97 kB / 0.5634 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.3692, allocations: 174.8 kB / 0.5636 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3692, allocations: 5.75 kB / 0.5636 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.3692, allocations: 1.656 kB / 0.5636 GB, free: 33.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/0.3695, allocations: 83.12 kB / 0.5637 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3695, allocations: 0 / 0.5637 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3695, allocations: 2.812 kB / 0.5637 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3695, allocations: 0 / 0.5637 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.3699, allocations: 89.78 kB / 0.5638 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.3701, allocations: 169.9 kB / 0.5639 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.3707, allocations: 146.8 kB / 0.5641 GB, free: 32.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.3709, allocations: 54.53 kB / 0.5641 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3709, allocations: 1.719 kB / 0.5641 GB, free: 32.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.3709, allocations: 36.88 kB / 0.5642 GB, free: 32.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3709, allocations: 0 / 0.5642 GB, free: 32.93 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=9): time 0.00446/0.3754, allocations: 0.9542 MB / 0.5651 GB, free: 32.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.3754, allocations: 53.89 kB / 0.5652 GB, free: 32.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.3755, allocations: 118.2 kB / 0.5653 GB, free: 32.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3755, allocations: 27.58 kB / 0.5653 GB, free: 32.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.3756, allocations: 86.25 kB / 0.5654 GB, free: 32.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.3756, allocations: 33.28 kB / 0.5654 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.3757, allocations: 14.22 kB / 0.5654 GB, free: 32.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.24e-05/0.3757, allocations: 319.5 kB / 0.5657 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.3762, allocations: 117 kB / 0.5658 GB, free: 32.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004592/0.3767, allocations: 122.2 kB / 0.566 GB, free: 32.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008859/0.3776, allocations: 234.7 kB / 0.5662 GB, free: 32.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3776, allocations: 0 / 0.5662 GB, free: 32.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009694/0.3785, allocations: 286.9 kB / 0.5665 GB, free: 32.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3786, allocations: 5.672 kB / 0.5665 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3786, allocations: 0.9375 kB / 0.5665 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3786, allocations: 3.984 kB / 0.5665 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.379, allocations: 70.09 kB / 0.5665 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.379, allocations: 1.25 kB / 0.5665 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.3792, allocations: 44.7 kB / 0.5666 GB, free: 32.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.688e-05/0.3793, allocations: 6.078 kB / 0.5666 GB, free: 32.04 MB / 446.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 (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.3793, allocations: 117.6 kB / 0.5667 GB, free: 31.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.976e-05/0.3794, allocations: 14.55 kB / 0.5667 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.3794, allocations: 10.23 kB / 0.5667 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3794, allocations: 5.719 kB / 0.5667 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3794, allocations: 1.125 kB / 0.5667 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3794, allocations: 0.6094 kB / 0.5667 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3812, allocations: 0.6582 MB / 0.5674 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3812, allocations: 1.703 kB / 0.5674 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.3815, allocations: 68.09 kB / 0.5674 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.3815, allocations: 1.812 kB / 0.5674 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3815, allocations: 4.031 kB / 0.5674 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.3815, allocations: 5.875 kB / 0.5674 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3815, allocations: 1.844 kB / 0.5674 GB, free: 31.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009714/0.3825, allocations: 384.2 kB / 0.5678 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.3826, allocations: 84.86 kB / 0.5679 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.3826, allocations: 1.906 kB / 0.5679 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.3829, allocations: 45.86 kB / 0.5679 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3829, allocations: 17 kB / 0.568 GB, free: 31.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3829, allocations: 14.31 kB / 0.568 GB, free: 31.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.621e-05/0.383, allocations: 89.48 kB / 0.5681 GB, free: 31.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.383, allocations: 4 kB / 0.5681 GB, free: 31.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003068/0.3833, allocations: 37.62 kB / 0.5681 GB, free: 31.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001824/0.3835, allocations: 130.9 kB / 0.5682 GB, free: 31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009947/0.3845, allocations: 248.5 kB / 0.5685 GB, free: 30.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3845, allocations: 4 kB / 0.5685 GB, free: 30.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004692/0.385, allocations: 128.4 kB / 0.5686 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.3852, allocations: 10.5 kB / 0.5686 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.3868, allocations: 0.4898 MB / 0.5691 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.387, allocations: 0.6851 MB / 0.5697 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.3871, allocations: 25.34 kB / 0.5698 GB, free: 30.03 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3871, allocations: 0 / 0.5698 GB, free: 30.03 MB / 446.1 MB Notification: Performance of Templates: time 0.003629/0.3907, allocations: 1.433 MB / 0.5712 GB, free: 29.93 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)