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/Complex 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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5241/0.5241, allocations: 87.5 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 107.9 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000992/0.0009921, allocations: 59.91 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3188, allocations: 70.06 MB / 0.5575 GB, free: 44.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001782/0.3207, allocations: 0.6767 MB / 0.5582 GB, free: 44.2 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3226, allocations: 1.48 MB / 0.5596 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.882e-05/0.3226, allocations: 0 / 0.5596 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.763e-05/0.3226, allocations: 1.094 kB / 0.5596 GB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.55e-05/0.3227, allocations: 3.938 kB / 0.5596 GB, free: 43.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003464/0.3231, allocations: 92.14 kB / 0.5597 GB, free: 42.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.189e-05/0.3231, allocations: 31.91 kB / 0.5597 GB, free: 42.92 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.3232, allocations: 8 kB / 0.5597 GB, free: 42.91 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.028e-05/0.3232, allocations: 7.938 kB / 0.5597 GB, free: 42.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.517e-05/0.3233, allocations: 27.84 kB / 0.5598 GB, free: 42.88 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.3233, allocations: 2.938 kB / 0.5598 GB, free: 42.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.3237, allocations: 311.4 kB / 0.5601 GB, free: 42.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.244e-05/0.3237, allocations: 3.984 kB / 0.5601 GB, free: 42.57 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.3237, allocations: 19.86 kB / 0.5601 GB, free: 42.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.3239, allocations: 189.8 kB / 0.5603 GB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.324, allocations: 0 / 0.5603 GB, free: 42.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.324, allocations: 0 / 0.5603 GB, free: 42.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.324, allocations: 0 / 0.5603 GB, free: 42.36 MB / 410.7 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.0004431/0.3244, allocations: 375.3 kB / 0.5606 GB, free: 41.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.3245, allocations: 8.031 kB / 0.5606 GB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003416/0.3248, allocations: 60.86 kB / 0.5607 GB, free: 41.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.3249, allocations: 184.2 kB / 0.5609 GB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.325, allocations: 4.312 kB / 0.5609 GB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.325, allocations: 8.312 kB / 0.5609 GB, free: 41.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.3252, allocations: 77.95 kB / 0.561 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3253, allocations: 0 / 0.561 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3253, allocations: 0 / 0.561 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3253, allocations: 0 / 0.561 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003433/0.3256, allocations: 71.92 kB / 0.561 GB, free: 41.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.3258, allocations: 169.7 kB / 0.5612 GB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.3263, allocations: 130.4 kB / 0.5613 GB, free: 41.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/0.3264, allocations: 36.95 kB / 0.5614 GB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.3265, allocations: 4 kB / 0.5614 GB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.3265, allocations: 34.5 kB / 0.5614 GB, free: 41.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.3265, allocations: 0 / 0.5614 GB, free: 41.06 MB / 410.7 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.003631/0.3301, allocations: 0.7922 MB / 0.5622 GB, free: 40.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.3302, allocations: 55.41 kB / 0.5622 GB, free: 40.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.3302, allocations: 117.8 kB / 0.5623 GB, free: 40.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3303, allocations: 25.7 kB / 0.5624 GB, free: 40.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.863e-05/0.3303, allocations: 88.05 kB / 0.5624 GB, free: 39.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.3303, allocations: 27.64 kB / 0.5625 GB, free: 39.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.3304, allocations: 29.7 kB / 0.5625 GB, free: 39.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.3304, allocations: 318.8 kB / 0.5628 GB, free: 39.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003866/0.3308, allocations: 95.89 kB / 0.5629 GB, free: 39.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.3312, allocations: 95.89 kB / 0.563 GB, free: 39.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/0.3319, allocations: 196.6 kB / 0.5632 GB, free: 39.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3319, allocations: 0 / 0.5632 GB, free: 39.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007945/0.3327, allocations: 241.3 kB / 0.5634 GB, free: 38.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3328, allocations: 9.812 kB / 0.5634 GB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3328, allocations: 0 / 0.5634 GB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3328, allocations: 4 kB / 0.5634 GB, free: 38.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.3331, allocations: 52.31 kB / 0.5635 GB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3331, allocations: 0 / 0.5635 GB, free: 38.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3333, allocations: 43.95 kB / 0.5635 GB, free: 38.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3333, allocations: 4 kB / 0.5635 GB, free: 38.84 MB / 410.7 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 5.47e-05/0.3334, allocations: 117.7 kB / 0.5636 GB, free: 38.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.3334, allocations: 11.89 kB / 0.5636 GB, free: 38.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.539e-05/0.3334, allocations: 8.375 kB / 0.5636 GB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3334, allocations: 11.94 kB / 0.5636 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3334, allocations: 0 / 0.5636 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.91e-05/0.3335, allocations: 3.984 kB / 0.5637 GB, free: 38.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/0.3349, allocations: 0.5973 MB / 0.5642 GB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3349, allocations: 0 / 0.5642 GB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.3351, allocations: 51.94 kB / 0.5643 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3351, allocations: 64 / 0.5643 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3352, allocations: 15.98 kB / 0.5643 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3352, allocations: 0 / 0.5643 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3352, allocations: 4 kB / 0.5643 GB, free: 37.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.3365, allocations: 0.9791 MB / 0.5653 GB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.3365, allocations: 85.05 kB / 0.5653 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3365, allocations: 0 / 0.5653 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.3368, allocations: 43.95 kB / 0.5654 GB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.3368, allocations: 7.984 kB / 0.5654 GB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.3369, allocations: 8.359 kB / 0.5654 GB, free: 36.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.94e-05/0.3369, allocations: 87.28 kB / 0.5655 GB, free: 36.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3369, allocations: 0 / 0.5655 GB, free: 36.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003578/0.3373, allocations: 47.92 kB / 0.5655 GB, free: 36.61 MB / 410.7 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.0001634/0.3374, allocations: 131.2 kB / 0.5657 GB, free: 36.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008307/0.3383, allocations: 203.8 kB / 0.5658 GB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3383, allocations: 0 / 0.5658 GB, free: 36.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.3387, allocations: 115.9 kB / 0.566 GB, free: 36.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.3389, allocations: 11.94 kB / 0.566 GB, free: 36.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3403, allocations: 0.5265 MB / 0.5665 GB, free: 35.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.3404, allocations: 0.6926 MB / 0.5672 GB, free: 34.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.3405, allocations: 20.61 kB / 0.5672 GB, free: 34.83 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.3406, allocations: 19.42 kB / 0.5672 GB, free: 34.81 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3406, allocations: 0 / 0.5672 GB, free: 34.81 MB / 410.7 MB Notification: Performance of Templates: time 0.003269/0.3439, allocations: 1.633 MB / 0.5688 GB, free: 33.18 MB / 410.7 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)