Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.535/1.535, allocations: 292.3 MB / 308.1 MB, free: 4.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 186.4 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009092/0.0009092, allocations: 97.38 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2344, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002038/0.2365, allocations: 0.6977 MB / 0.9829 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001922/0.2384, allocations: 1.498 MB / 0.9844 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.278e-05/0.2384, allocations: 4 kB / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.2385, allocations: 0 / 0.9844 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.986e-05/0.2386, allocations: 11.86 kB / 0.9844 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.239, allocations: 95.7 kB / 0.9845 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.237e-05/0.2391, allocations: 23.98 kB / 0.9845 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.2391, allocations: 0 / 0.9845 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.511e-05/0.2392, allocations: 19.86 kB / 0.9845 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.748e-05/0.2392, allocations: 23.84 kB / 0.9846 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.2393, allocations: 8 kB / 0.9846 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004523/0.2397, allocations: 315.4 kB / 0.9849 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.2397, allocations: 3.984 kB / 0.9849 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.338e-05/0.2398, allocations: 19.86 kB / 0.9849 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.2401, allocations: 183.9 kB / 0.9851 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2401, allocations: 0 / 0.9851 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2401, allocations: 0 / 0.9851 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.2401, allocations: 0 / 0.9851 GB, free: 7.473 MB / 0.7136 GB 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.000521/0.2406, allocations: 387.3 kB / 0.9854 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2407, allocations: 8.031 kB / 0.9854 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.241, allocations: 56.86 kB / 0.9855 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.2412, allocations: 188.2 kB / 0.9857 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2412, allocations: 4.375 kB / 0.9857 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.2412, allocations: 384 / 0.9857 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.2415, allocations: 73.95 kB / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2415, allocations: 0 / 0.9857 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2415, allocations: 11.98 kB / 0.9858 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2415, allocations: 4 kB / 0.9858 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.2419, allocations: 71.91 kB / 0.9858 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.2421, allocations: 165.7 kB / 0.986 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005154/0.2426, allocations: 122.4 kB / 0.9861 GB, free: 6.254 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.2428, allocations: 52.94 kB / 0.9862 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2428, allocations: 0 / 0.9862 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2428, allocations: 34.5 kB / 0.9862 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.2428, allocations: 0 / 0.9862 GB, free: 6.156 MB / 0.7136 GB 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.003842/0.2467, allocations: 0.792 MB / 0.987 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.2467, allocations: 55.41 kB / 0.987 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.2468, allocations: 109.8 kB / 0.9871 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.2468, allocations: 25.7 kB / 0.9871 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.2469, allocations: 88.14 kB / 0.9872 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.2469, allocations: 35.53 kB / 0.9873 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.247, allocations: 25.7 kB / 0.9873 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.2471, allocations: 318.8 kB / 0.9876 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.2475, allocations: 96 kB / 0.9877 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.2479, allocations: 103.8 kB / 0.9878 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007796/0.2487, allocations: 192.6 kB / 0.988 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2487, allocations: 0 / 0.988 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008661/0.2496, allocations: 249.3 kB / 0.9882 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2496, allocations: 4 kB / 0.9882 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2496, allocations: 0 / 0.9882 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.2497, allocations: 0 / 0.9882 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.25, allocations: 55.94 kB / 0.9883 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.25, allocations: 0 / 0.9883 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.2502, allocations: 40.7 kB / 0.9883 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.2502, allocations: 7.984 kB / 0.9883 GB, free: 3.926 MB / 0.7136 GB 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 8.661e-05/0.2503, allocations: 117.8 kB / 0.9884 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.042e-05/0.2503, allocations: 7.844 kB / 0.9884 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.125e-05/0.2504, allocations: 12.38 kB / 0.9884 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.2504, allocations: 0 / 0.9884 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2504, allocations: 0 / 0.9884 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.2504, allocations: 3.984 kB / 0.9884 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.252, allocations: 0.6052 MB / 0.989 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.252, allocations: 0 / 0.989 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.2522, allocations: 56 kB / 0.9891 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2522, allocations: 0 / 0.9891 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.2523, allocations: 8.281 kB / 0.9891 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.2523, allocations: 0 / 0.9891 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2523, allocations: 0 / 0.9891 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.2538, allocations: 0.9908 MB / 0.9901 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.2539, allocations: 92.94 kB / 0.9901 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.2539, allocations: 0 / 0.9901 GB, free: 1.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2541, allocations: 35.95 kB / 0.9902 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.2542, allocations: 11.98 kB / 0.9902 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2542, allocations: 4 kB / 0.9902 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.641e-05/0.2542, allocations: 95.27 kB / 0.9903 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2542, allocations: 0 / 0.9903 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003581/0.2546, allocations: 36 kB / 0.9903 GB, free: 1.699 MB / 0.7136 GB 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.0002044/0.2548, allocations: 131.2 kB / 0.9904 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008743/0.2557, allocations: 207.8 kB / 0.9906 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2557, allocations: 3.938 kB / 0.9906 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.2561, allocations: 104 kB / 0.9907 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.2564, allocations: 11.94 kB / 0.9908 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.2579, allocations: 0.5301 MB / 0.9913 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.2581, allocations: 0.6848 MB / 0.9919 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.2583, allocations: 24.94 kB / 0.992 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.2583, allocations: 19.42 kB / 0.992 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of SimCode: time 3.71e-07/0.2583, allocations: 3.938 kB / 0.992 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.003694/0.262, allocations: 1.618 MB / 0.9936 GB, free: 14.29 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)