Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.81/1.81, allocations: 287.5 MB / 302.6 MB, free: 8.301 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.001372/0.001372, allocations: 184.5 kB / 371.2 MB, free: 10.84 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.942/1.942, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007643/0.0007643, allocations: 92.14 kB / 0.7432 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003925, allocations: 13.67 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1981, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007513/0.1989, allocations: 363.4 kB / 0.979 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2006, allocations: 1.421 MB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.2006, allocations: 0 / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.227e-05/0.2006, allocations: 4 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.2007, allocations: 3.938 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.2011, allocations: 91.75 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.3e-05/0.2012, allocations: 27.91 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.101e-05/0.2012, allocations: 0 / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.2013, allocations: 15.94 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.361e-05/0.2013, allocations: 19.91 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.2014, allocations: 4 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003731/0.2017, allocations: 307.3 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2018, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.2018, allocations: 29.7 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.202, allocations: 140.1 kB / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.202, allocations: 0 / 0.981 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.202, allocations: 3.938 kB / 0.9811 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.202, allocations: 0 / 0.9811 GB, free: 25.75 MB / 0.6198 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.0004244/0.2024, allocations: 375.4 kB / 0.9814 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.2025, allocations: 8.031 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003368/0.2028, allocations: 76.77 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.203, allocations: 172.4 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.203, allocations: 384 / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.203, allocations: 4.375 kB / 0.9817 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.2033, allocations: 89.89 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2033, allocations: 0 / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2033, allocations: 0 / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2033, allocations: 0 / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.2036, allocations: 79.92 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.2038, allocations: 177.6 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.2043, allocations: 146.5 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.2044, allocations: 52.94 kB / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.2045, allocations: 0 / 0.9822 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.2045, allocations: 42.5 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.2045, allocations: 4 kB / 0.9822 GB, free: 24.39 MB / 0.6198 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.003716/0.2082, allocations: 0.9496 MB / 0.9832 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.2083, allocations: 55.41 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.2083, allocations: 113.8 kB / 0.9833 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.2084, allocations: 25.7 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.2084, allocations: 84.12 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.2084, allocations: 27.56 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.2085, allocations: 4 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.2085, allocations: 318.8 kB / 0.9838 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.2089, allocations: 119.9 kB / 0.9839 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003569/0.2093, allocations: 119.8 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006877/0.21, allocations: 233 kB / 0.9842 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.21, allocations: 11.92 kB / 0.9842 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008349/0.2108, allocations: 289.2 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.2108, allocations: 5.875 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.2109, allocations: 4 kB / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2109, allocations: 0 / 0.9845 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.2112, allocations: 63.94 kB / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.2112, allocations: 0 / 0.9846 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.2114, allocations: 43.95 kB / 0.9846 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.2114, allocations: 8 kB / 0.9846 GB, free: 21.89 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.2115, allocations: 121.8 kB / 0.9847 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.2115, allocations: 4 kB / 0.9847 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.2115, allocations: 16.31 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-06/0.2116, allocations: 0 / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2116, allocations: 0 / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2116, allocations: 4 kB / 0.9847 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.213, allocations: 0.656 MB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.213, allocations: 4 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.2133, allocations: 64 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2133, allocations: 0 / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2133, allocations: 4 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2133, allocations: 3.984 kB / 0.9855 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2133, allocations: 3.938 kB / 0.9855 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.2141, allocations: 389.6 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.2142, allocations: 77.11 kB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.2142, allocations: 4 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.2144, allocations: 47.95 kB / 0.986 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.2145, allocations: 19.92 kB / 0.986 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.2145, allocations: 7.984 kB / 0.986 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.291e-05/0.2145, allocations: 87.28 kB / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2145, allocations: 0 / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002743/0.2148, allocations: 39.98 kB / 0.9861 GB, free: 20.24 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001941/0.215, allocations: 129.5 kB / 0.9862 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008135/0.2159, allocations: 255.7 kB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2159, allocations: 0 / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.2163, allocations: 132 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002208/0.2165, allocations: 10.06 kB / 0.9866 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.2178, allocations: 476 kB / 0.9871 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.218, allocations: 0.69 MB / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.2181, allocations: 21.44 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.2182, allocations: 19.42 kB / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of SimCode: time 4.51e-07/0.2182, allocations: 0 / 0.9878 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.003928/0.2221, allocations: 1.563 MB / 0.9893 GB, free: 16.9 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)