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.001785/0.001784, allocations: 102 kB / 15.98 MB, free: 6.336 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.001507/0.001507, allocations: 195.4 kB / 16.91 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.45/1.45, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7498/0.7498, allocations: 122.9 MB / 413.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.4906 GB, free: 7.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4331, allocations: 77.91 MB / 0.5667 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0018/0.4349, allocations: 0.686 MB / 0.5674 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.4365, allocations: 1.452 MB / 0.5688 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.632e-05/0.4366, allocations: 0 / 0.5688 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.695e-05/0.4366, allocations: 5.219 kB / 0.5688 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.4367, allocations: 2.453 kB / 0.5688 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003989/0.4371, allocations: 104.9 kB / 0.5689 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.188e-05/0.4372, allocations: 30.91 kB / 0.5689 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.4372, allocations: 3.359 kB / 0.5689 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.552e-05/0.4373, allocations: 11.36 kB / 0.5689 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.759e-05/0.4373, allocations: 23.19 kB / 0.569 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.4373, allocations: 3.156 kB / 0.569 GB, free: 31.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.4378, allocations: 315.3 kB / 0.5693 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.4378, allocations: 5.172 kB / 0.5693 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.743e-05/0.4379, allocations: 24.97 kB / 0.5693 GB, free: 31.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.4382, allocations: 183.8 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4382, allocations: 1.344 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.4382, allocations: 1.281 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.4382, allocations: 0 / 0.5695 GB, free: 31.07 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.000436/0.4386, allocations: 377.3 kB / 0.5698 GB, free: 30.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4387, allocations: 9.25 kB / 0.5698 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003867/0.4391, allocations: 61.33 kB / 0.5699 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.4392, allocations: 179.9 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4393, allocations: 1.719 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.4393, allocations: 3.453 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002614/0.4395, allocations: 75.75 kB / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4396, allocations: 0 / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.4396, allocations: 5.188 kB / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.4396, allocations: 1.125 kB / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.44, allocations: 78.2 kB / 0.5702 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.4401, allocations: 166.6 kB / 0.5704 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.4407, allocations: 119.7 kB / 0.5705 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.4409, allocations: 41.98 kB / 0.5705 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.4409, allocations: 5.922 kB / 0.5705 GB, free: 30.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.4409, allocations: 41.59 kB / 0.5706 GB, free: 30.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.4409, allocations: 0 / 0.5706 GB, free: 30.13 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.004243/0.4452, allocations: 0.7941 MB / 0.5714 GB, free: 30.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/0.4452, allocations: 57.59 kB / 0.5714 GB, free: 29.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.655e-05/0.4453, allocations: 109.7 kB / 0.5715 GB, free: 29.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.4453, allocations: 28.05 kB / 0.5715 GB, free: 29.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.009e-05/0.4453, allocations: 84.14 kB / 0.5716 GB, free: 29.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.886e-05/0.4454, allocations: 38.75 kB / 0.5717 GB, free: 29.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.4454, allocations: 22.5 kB / 0.5717 GB, free: 29.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.471e-05/0.4455, allocations: 318.5 kB / 0.572 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.4459, allocations: 100.4 kB / 0.5721 GB, free: 29.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000413/0.4463, allocations: 96.16 kB / 0.5722 GB, free: 29.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007993/0.4471, allocations: 194 kB / 0.5724 GB, free: 29.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4472, allocations: 192 / 0.5724 GB, free: 29.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008918/0.448, allocations: 244.6 kB / 0.5726 GB, free: 29.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.4481, allocations: 10.78 kB / 0.5726 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4481, allocations: 6.219 kB / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4481, allocations: 0 / 0.5726 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.4484, allocations: 51.45 kB / 0.5727 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4485, allocations: 0 / 0.5727 GB, free: 29.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.4487, allocations: 44.69 kB / 0.5727 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.4487, allocations: 5.75 kB / 0.5727 GB, free: 29.25 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 7.178e-05/0.4488, allocations: 121.3 kB / 0.5728 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.4488, allocations: 6.688 kB / 0.5728 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.4489, allocations: 11.22 kB / 0.5728 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4489, allocations: 0 / 0.5728 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.4489, allocations: 1.281 kB / 0.5728 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4489, allocations: 0.7031 kB / 0.5728 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.4505, allocations: 0.596 MB / 0.5734 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4505, allocations: 0 / 0.5734 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.4508, allocations: 59.33 kB / 0.5735 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4508, allocations: 1.062 kB / 0.5735 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.4508, allocations: 9.062 kB / 0.5735 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.4508, allocations: 5.5 kB / 0.5735 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4509, allocations: 1.062 kB / 0.5735 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009171/0.4518, allocations: 342.7 kB / 0.5738 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.4518, allocations: 88.5 kB / 0.5739 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.4518, allocations: 1.625 kB / 0.5739 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.4521, allocations: 37.25 kB / 0.5739 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.4522, allocations: 11.98 kB / 0.5739 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.4522, allocations: 10.47 kB / 0.574 GB, free: 28.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.855e-05/0.4522, allocations: 89.53 kB / 0.574 GB, free: 28.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4522, allocations: 0 / 0.574 GB, free: 28.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003312/0.4526, allocations: 38.91 kB / 0.5741 GB, free: 28.34 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.0001944/0.4528, allocations: 134.4 kB / 0.5742 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009322/0.4537, allocations: 207.1 kB / 0.5744 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4537, allocations: 1.938 kB / 0.5744 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004451/0.4542, allocations: 107.8 kB / 0.5745 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.4544, allocations: 11.97 kB / 0.5745 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.4559, allocations: 408 kB / 0.5749 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.456, allocations: 0.6889 MB / 0.5756 GB, free: 27.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001206/0.4562, allocations: 30.97 kB / 0.5756 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.4562, allocations: 22.44 kB / 0.5756 GB, free: 27.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4563, allocations: 0 / 0.5756 GB, free: 27.29 MB / 446.1 MB Notification: Performance of Templates: time 0.00407/0.4603, allocations: 1.636 MB / 0.5772 GB, free: 26.96 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)