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.001172/0.001172, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001131/0.001131, allocations: 184 kB / 17.22 MB, free: 5.934 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.229/1.229, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.593/1.593, allocations: 292.3 MB / 0.5495 GB, free: 17.48 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.001333/0.001333, allocations: 71.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1931, allocations: 114.5 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001833/0.1949, allocations: 0.6362 MB / 0.7847 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1968, allocations: 1.486 MB / 0.7862 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.1968, allocations: 3.938 kB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.1969, allocations: 0 / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.236e-05/0.197, allocations: 11.92 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.1974, allocations: 123.5 kB / 0.7863 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.981e-05/0.1975, allocations: 23.92 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.1975, allocations: 0 / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.389e-05/0.1975, allocations: 15.92 kB / 0.7863 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.1976, allocations: 19.91 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1976, allocations: 11.94 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004052/0.198, allocations: 311.4 kB / 0.7867 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1981, allocations: 7.984 kB / 0.7867 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.328e-05/0.1981, allocations: 15.86 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1984, allocations: 195.8 kB / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1984, allocations: 0 / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1984, allocations: 0 / 0.7869 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.1984, allocations: 0 / 0.7869 GB, free: 0.9766 MB / 0.6544 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.0004497/0.1988, allocations: 379.4 kB / 0.7872 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1989, allocations: 8.031 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003328/0.1992, allocations: 68.77 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1993, allocations: 164.4 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1994, allocations: 384 / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.1994, allocations: 8.281 kB / 0.7875 GB, free: 284 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.1996, allocations: 81.95 kB / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1996, allocations: 0 / 0.7875 GB, free: 196 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1997, allocations: 7.984 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1997, allocations: 0 / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.2, allocations: 79.84 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3106/0.5106, allocations: 160 kB / 0.7878 GB, free: 49.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004868/0.5111, allocations: 125.5 kB / 0.7879 GB, free: 49.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.5113, allocations: 43.66 kB / 0.7879 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.5113, allocations: 0 / 0.7879 GB, free: 49.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.5114, allocations: 35.5 kB / 0.788 GB, free: 49.31 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 1.963e-06/0.5114, allocations: 1.938 kB / 0.788 GB, free: 49.31 MB / 0.6544 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.003483/0.5149, allocations: 0.786 MB / 0.7887 GB, free: 49.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.5149, allocations: 54.25 kB / 0.7888 GB, free: 49.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.78e-05/0.515, allocations: 114.6 kB / 0.7889 GB, free: 49.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.515, allocations: 29.64 kB / 0.7889 GB, free: 49.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/0.515, allocations: 89.95 kB / 0.789 GB, free: 49 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.5151, allocations: 25.27 kB / 0.789 GB, free: 48.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.5151, allocations: 28.36 kB / 0.7891 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.792e-05/0.5152, allocations: 322.8 kB / 0.7894 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003495/0.5155, allocations: 92.52 kB / 0.7895 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003463/0.5159, allocations: 99.64 kB / 0.7896 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.5166, allocations: 198.2 kB / 0.7897 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.5166, allocations: 2.531 kB / 0.7898 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007362/0.5173, allocations: 238.1 kB / 0.79 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.5173, allocations: 8.531 kB / 0.79 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5174, allocations: 7.938 kB / 0.79 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.5174, allocations: 2.625 kB / 0.79 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002705/0.5177, allocations: 48.86 kB / 0.79 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5177, allocations: 0 / 0.79 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/0.5179, allocations: 43.11 kB / 0.7901 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.5179, allocations: 5.25 kB / 0.7901 GB, free: 48.59 MB / 0.6544 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 5.548e-05/0.5179, allocations: 109.8 kB / 0.7902 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.518, allocations: 10 kB / 0.7902 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.34e-05/0.518, allocations: 16.86 kB / 0.7902 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.518, allocations: 0 / 0.7902 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.518, allocations: 2.625 kB / 0.7902 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.518, allocations: 0 / 0.7902 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.5194, allocations: 0.6047 MB / 0.7908 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5194, allocations: 0 / 0.7908 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.5196, allocations: 51.75 kB / 0.7909 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5196, allocations: 5.938 kB / 0.7909 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.5197, allocations: 5.203 kB / 0.7909 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5197, allocations: 4.406 kB / 0.7909 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5197, allocations: 0 / 0.7909 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.5204, allocations: 349.9 kB / 0.7912 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.144e-05/0.5204, allocations: 79.73 kB / 0.7913 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.5205, allocations: 4.812 kB / 0.7913 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.5207, allocations: 42.14 kB / 0.7913 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.5207, allocations: 8.25 kB / 0.7913 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.5207, allocations: 7.734 kB / 0.7913 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.5208, allocations: 91.39 kB / 0.7914 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.5208, allocations: 0.5625 kB / 0.7914 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002716/0.5211, allocations: 35.28 kB / 0.7915 GB, free: 47.79 MB / 0.6544 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.0001721/0.5212, allocations: 132.4 kB / 0.7916 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007448/0.522, allocations: 215.8 kB / 0.7918 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.522, allocations: 3.469 kB / 0.7918 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.5224, allocations: 107.8 kB / 0.7919 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.5226, allocations: 6.312 kB / 0.7919 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.5238, allocations: 402.2 kB / 0.7923 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.369e-05/0.5239, allocations: 0.6824 MB / 0.793 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 8.007e-05/0.524, allocations: 26.81 kB / 0.793 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.5241, allocations: 18.03 kB / 0.793 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.5241, allocations: 2.297 kB / 0.793 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.003356/0.5274, allocations: 1.65 MB / 0.7946 GB, free: 46.75 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)