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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.0009699, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.000982/0.0009821, allocations: 194.8 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.683/1.683, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 65.8 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2328, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001886/0.2347, allocations: 0.6937 MB / 0.7834 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001993/0.2367, allocations: 1.515 MB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.2367, allocations: 3.938 kB / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.493e-05/0.2368, allocations: 0 / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.038e-05/0.2369, allocations: 0 / 0.7848 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003561/0.2372, allocations: 99.7 kB / 0.7849 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.274e-05/0.2373, allocations: 31.84 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.2374, allocations: 0 / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.958e-05/0.2374, allocations: 15.92 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.2375, allocations: 19.91 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.2375, allocations: 4 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.238, allocations: 311.4 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.238, allocations: 7.922 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.238, allocations: 19.86 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000284/0.2383, allocations: 195.9 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.2383, allocations: 0 / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2383, allocations: 0 / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.2383, allocations: 0 / 0.7855 GB, free: 11.07 MB / 0.6075 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.0005337/0.2389, allocations: 371.4 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2389, allocations: 8.031 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.2393, allocations: 64.77 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.2395, allocations: 180.3 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2395, allocations: 4.375 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.2395, allocations: 4.375 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.2398, allocations: 73.95 kB / 0.7862 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.2398, allocations: 7.938 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2398, allocations: 4 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2398, allocations: 0 / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003556/0.2402, allocations: 67.92 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.2404, allocations: 173.7 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.2409, allocations: 126.5 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.2411, allocations: 36.95 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.2411, allocations: 0 / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.2411, allocations: 46.44 kB / 0.7866 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.2411, allocations: 0 / 0.7866 GB, free: 9.762 MB / 0.6075 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.004019/0.2452, allocations: 0.7856 MB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2452, allocations: 59.41 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.2453, allocations: 109.9 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.2454, allocations: 29.64 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.2454, allocations: 88.14 kB / 0.7877 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.391e-05/0.2455, allocations: 31.55 kB / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.2455, allocations: 29.64 kB / 0.7877 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2456, allocations: 318.8 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/0.246, allocations: 95.89 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003986/0.2465, allocations: 99.89 kB / 0.7882 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.2472, allocations: 188.7 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2472, allocations: 0 / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008732/0.2481, allocations: 249.3 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2481, allocations: 4 kB / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2482, allocations: 0 / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2482, allocations: 0 / 0.7886 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.2485, allocations: 51.94 kB / 0.7887 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2485, allocations: 7.938 kB / 0.7887 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002187/0.2487, allocations: 40.7 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.2488, allocations: 0 / 0.7887 GB, free: 7.539 MB / 0.6075 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.822e-05/0.2489, allocations: 122.4 kB / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.2489, allocations: 11.89 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.232e-05/0.2489, allocations: 8.375 kB / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2489, allocations: 0 / 0.7889 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.249, allocations: 4.281 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.249, allocations: 0 / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/0.2506, allocations: 0.5974 MB / 0.7895 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2506, allocations: 3.938 kB / 0.7895 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.2509, allocations: 59.94 kB / 0.7895 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.2509, allocations: 0 / 0.7895 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.061e-05/0.2509, allocations: 11.98 kB / 0.7895 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2509, allocations: 0 / 0.7895 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2509, allocations: 4 kB / 0.7895 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009253/0.2519, allocations: 344.8 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.2519, allocations: 89.02 kB / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.252, allocations: 0 / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.2522, allocations: 39.95 kB / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/0.2523, allocations: 11.92 kB / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.2523, allocations: 8 kB / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.369e-05/0.2524, allocations: 91.27 kB / 0.7901 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2524, allocations: 0 / 0.7901 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003375/0.2527, allocations: 32 kB / 0.7901 GB, free: 6.004 MB / 0.6075 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.0003001/0.253, allocations: 145.4 kB / 0.7903 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008665/0.2539, allocations: 199.8 kB / 0.7905 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2539, allocations: 0 / 0.7905 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.2543, allocations: 108 kB / 0.7906 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.2546, allocations: 12 kB / 0.7906 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.256, allocations: 416 kB / 0.791 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.2563, allocations: 0.6848 MB / 0.7916 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.2564, allocations: 28.88 kB / 0.7917 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.588e-05/0.2565, allocations: 15.42 kB / 0.7917 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.2565, allocations: 4 kB / 0.7917 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of Templates: time 0.003882/0.2604, allocations: 1.562 MB / 0.7932 GB, free: 2.789 MB / 0.6075 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)