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.0008291/0.0008297, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008431/0.0008431, allocations: 183.3 kB / 16.92 MB, free: 6.688 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 115.5 MB / 407.6 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 8 kB / 495.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2062, allocations: 77.54 MB / 0.56 GB, free: 8.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0008811/0.2071, allocations: 358.3 kB / 0.5603 GB, free: 8.641 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.2094, allocations: 1.451 MB / 0.5617 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.2094, allocations: 0 / 0.5617 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.961e-05/0.2095, allocations: 3.938 kB / 0.5617 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.256e-05/0.2096, allocations: 0 / 0.5617 GB, free: 7.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.21, allocations: 99.69 kB / 0.5618 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.842e-05/0.2101, allocations: 31.86 kB / 0.5619 GB, free: 7.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.372e-05/0.2101, allocations: 4 kB / 0.5619 GB, free: 7.035 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.515e-05/0.2102, allocations: 15.92 kB / 0.5619 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.2103, allocations: 19.91 kB / 0.5619 GB, free: 7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.2103, allocations: 0 / 0.5619 GB, free: 7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004966/0.2108, allocations: 315.4 kB / 0.5622 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.2108, allocations: 7.984 kB / 0.5622 GB, free: 6.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.393e-05/0.2109, allocations: 41.52 kB / 0.5622 GB, free: 6.637 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.2112, allocations: 183.9 kB / 0.5624 GB, free: 6.457 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2112, allocations: 0 / 0.5624 GB, free: 6.457 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2112, allocations: 0 / 0.5624 GB, free: 6.457 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2112, allocations: 4 kB / 0.5624 GB, free: 6.453 MB / 430.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.0005673/0.2118, allocations: 375.4 kB / 0.5628 GB, free: 6.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2118, allocations: 8.031 kB / 0.5628 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003957/0.2122, allocations: 76.77 kB / 0.5629 GB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.2124, allocations: 176.4 kB / 0.563 GB, free: 5.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.2124, allocations: 4.375 kB / 0.563 GB, free: 5.742 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.2124, allocations: 4.375 kB / 0.563 GB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002853/0.2127, allocations: 81.94 kB / 0.5631 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2128, allocations: 0 / 0.5631 GB, free: 5.652 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2128, allocations: 8 kB / 0.5631 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2128, allocations: 4 kB / 0.5631 GB, free: 5.641 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.2132, allocations: 87.84 kB / 0.5632 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002/0.2134, allocations: 169.6 kB / 0.5634 GB, free: 5.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/0.2139, allocations: 142.5 kB / 0.5635 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.2141, allocations: 52.94 kB / 0.5636 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2142, allocations: 0 / 0.5636 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2142, allocations: 38.5 kB / 0.5636 GB, free: 5.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2142, allocations: 3.938 kB / 0.5636 GB, free: 5.086 MB / 430.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.004385/0.2186, allocations: 0.9591 MB / 0.5645 GB, free: 4.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.2187, allocations: 55.41 kB / 0.5646 GB, free: 4.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.2188, allocations: 113.8 kB / 0.5647 GB, free: 3.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.2188, allocations: 29.7 kB / 0.5647 GB, free: 3.898 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.2189, allocations: 84.14 kB / 0.5648 GB, free: 3.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.2189, allocations: 31.55 kB / 0.5648 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.219, allocations: 13.72 kB / 0.5648 GB, free: 3.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2191, allocations: 318.8 kB / 0.5652 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.2195, allocations: 119.9 kB / 0.5653 GB, free: 3.324 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004243/0.22, allocations: 119.8 kB / 0.5654 GB, free: 3.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000842/0.2208, allocations: 228.7 kB / 0.5656 GB, free: 2.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2208, allocations: 4 kB / 0.5656 GB, free: 2.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009446/0.2218, allocations: 289.3 kB / 0.5659 GB, free: 2.688 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2218, allocations: 4 kB / 0.5659 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.2218, allocations: 0 / 0.5659 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.2219, allocations: 4 kB / 0.5659 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.2222, allocations: 67.94 kB / 0.566 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2222, allocations: 0 / 0.566 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.2225, allocations: 44.33 kB / 0.566 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.782e-05/0.2225, allocations: 4 kB / 0.566 GB, free: 2.566 MB / 430.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 0.0001178/0.2226, allocations: 125.7 kB / 0.5661 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.727e-05/0.2227, allocations: 7.906 kB / 0.5661 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.982e-05/0.2227, allocations: 16.31 kB / 0.5661 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.2227, allocations: 0 / 0.5661 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2227, allocations: 0 / 0.5661 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2227, allocations: 0 / 0.5661 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001902/0.2247, allocations: 0.6638 MB / 0.5668 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2247, allocations: 4 kB / 0.5668 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.2249, allocations: 67.94 kB / 0.5669 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2249, allocations: 0 / 0.5669 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.225, allocations: 4 kB / 0.5669 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.225, allocations: 3.984 kB / 0.5669 GB, free: 1.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.225, allocations: 3.938 kB / 0.5669 GB, free: 1.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/0.226, allocations: 388.8 kB / 0.5672 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.037e-05/0.226, allocations: 81.11 kB / 0.5673 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.2261, allocations: 0 / 0.5673 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.2263, allocations: 48.7 kB / 0.5674 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.2264, allocations: 15.92 kB / 0.5674 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.2264, allocations: 7.984 kB / 0.5674 GB, free: 1.031 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.47e-05/0.2265, allocations: 87.28 kB / 0.5675 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2265, allocations: 4 kB / 0.5675 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003002/0.2268, allocations: 35.98 kB / 0.5675 GB, free: 0.9062 MB / 430.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.0002706/0.2271, allocations: 131.2 kB / 0.5676 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009473/0.228, allocations: 251.7 kB / 0.5679 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.228, allocations: 0 / 0.5679 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.2285, allocations: 124 kB / 0.568 GB, free: 412 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2287, allocations: 12 kB / 0.568 GB, free: 400 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.2304, allocations: 484.3 kB / 0.5685 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.2307, allocations: 0.6887 MB / 0.5691 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.2308, allocations: 29.66 kB / 0.5692 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.2309, allocations: 23.42 kB / 0.5692 GB, free: 15.12 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2309, allocations: 0 / 0.5692 GB, free: 15.12 MB / 446.1 MB Notification: Performance of Templates: time 0.004788/0.2357, allocations: 1.578 MB / 0.5707 GB, free: 13.55 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)