Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8427/0.8427, allocations: 143.4 MB / 159.2 MB, free: 4.852 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 193.9 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 447.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009223/0.0009221, allocations: 107.7 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001904/0.001904, allocations: 280.5 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 83.88 kB / 0.6885 GB, free: 3.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3884, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.00165/0.39, allocations: 0.6926 MB / 0.7686 GB, free: 26.97 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.3915, allocations: 1.472 MB / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.3915, allocations: 0 / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.3916, allocations: 0 / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.3916, allocations: 7.875 kB / 0.77 GB, free: 25.48 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.392, allocations: 103.7 kB / 0.7701 GB, free: 25.38 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.915e-05/0.392, allocations: 23.97 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.3921, allocations: 4 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.008e-05/0.3921, allocations: 15.92 kB / 0.7702 GB, free: 25.33 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.3922, allocations: 19.86 kB / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.3922, allocations: 0 / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.3925, allocations: 315.3 kB / 0.7705 GB, free: 25 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.3926, allocations: 11.94 kB / 0.7705 GB, free: 24.99 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.33e-05/0.3926, allocations: 7.922 kB / 0.7705 GB, free: 24.98 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3928, allocations: 198.3 kB / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3928, allocations: 0 / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3928, allocations: 0 / 0.7707 GB, free: 24.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.3928, allocations: 0 / 0.7707 GB, free: 24.79 MB / 458.7 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.0004194/0.3933, allocations: 367.4 kB / 0.7711 GB, free: 24.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3933, allocations: 8.031 kB / 0.7711 GB, free: 24.38 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003458/0.3937, allocations: 68.77 kB / 0.7711 GB, free: 24.31 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3938, allocations: 180.2 kB / 0.7713 GB, free: 24.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.3938, allocations: 8.375 kB / 0.7713 GB, free: 24.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.3938, allocations: 384 / 0.7713 GB, free: 24.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.3941, allocations: 81.95 kB / 0.7714 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3941, allocations: 0 / 0.7714 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3941, allocations: 0 / 0.7714 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3941, allocations: 0 / 0.7714 GB, free: 24 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003262/0.3945, allocations: 75.91 kB / 0.7715 GB, free: 23.93 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001349/0.3946, allocations: 165.7 kB / 0.7716 GB, free: 23.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.3951, allocations: 130.4 kB / 0.7718 GB, free: 23.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.3953, allocations: 44.94 kB / 0.7718 GB, free: 23.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.3953, allocations: 0 / 0.7718 GB, free: 23.54 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.252e-05/0.3953, allocations: 42.5 kB / 0.7718 GB, free: 23.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=5): time 8.41e-07/0.3953, allocations: 0 / 0.7718 GB, free: 23.48 MB / 458.7 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.003721/0.399, allocations: 0.7837 MB / 0.7726 GB, free: 22.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.3991, allocations: 51.41 kB / 0.7726 GB, free: 22.63 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.069e-05/0.3992, allocations: 109.8 kB / 0.7728 GB, free: 22.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3992, allocations: 29.7 kB / 0.7728 GB, free: 22.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.224e-05/0.3992, allocations: 84.23 kB / 0.7729 GB, free: 22.39 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.3992, allocations: 35.48 kB / 0.7729 GB, free: 22.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.3993, allocations: 25.7 kB / 0.7729 GB, free: 22.33 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.312e-05/0.3994, allocations: 318.8 kB / 0.7732 GB, free: 22.01 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.3998, allocations: 95.89 kB / 0.7733 GB, free: 21.91 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.4002, allocations: 103.8 kB / 0.7734 GB, free: 21.81 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007894/0.401, allocations: 196.6 kB / 0.7736 GB, free: 21.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.401, allocations: 0 / 0.7736 GB, free: 21.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008373/0.4018, allocations: 245.3 kB / 0.7738 GB, free: 21.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4018, allocations: 4 kB / 0.7738 GB, free: 21.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.4018, allocations: 4 kB / 0.7738 GB, free: 21.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.4019, allocations: 0 / 0.7738 GB, free: 21.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.4022, allocations: 51.94 kB / 0.7739 GB, free: 21.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4022, allocations: 8.75 kB / 0.7739 GB, free: 21.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.4024, allocations: 31.95 kB / 0.7739 GB, free: 21.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.4024, allocations: 7.984 kB / 0.7739 GB, free: 21.27 MB / 458.7 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 7.412e-05/0.4025, allocations: 118.6 kB / 0.7741 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.4025, allocations: 4 kB / 0.7741 GB, free: 21.14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.4026, allocations: 8.375 kB / 0.7741 GB, free: 21.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4026, allocations: 4 kB / 0.7741 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4026, allocations: 0 / 0.7741 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4026, allocations: 4 kB / 0.7741 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.4041, allocations: 0.6096 MB / 0.7747 GB, free: 20.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4041, allocations: 4 kB / 0.7747 GB, free: 20.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.4044, allocations: 52 kB / 0.7747 GB, free: 20.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4044, allocations: 7.938 kB / 0.7747 GB, free: 20.39 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.4044, allocations: 3.984 kB / 0.7747 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4044, allocations: 4.078 kB / 0.7747 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4044, allocations: 3.984 kB / 0.7747 GB, free: 20.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.4058, allocations: 0.983 MB / 0.7757 GB, free: 19.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.7e-05/0.4058, allocations: 84.95 kB / 0.7758 GB, free: 19.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.4058, allocations: 11.98 kB / 0.7758 GB, free: 19.21 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.4061, allocations: 31.97 kB / 0.7758 GB, free: 19.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.4061, allocations: 7.984 kB / 0.7758 GB, free: 19.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4061, allocations: 7.984 kB / 0.7758 GB, free: 19.17 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.285e-05/0.4062, allocations: 91.28 kB / 0.7759 GB, free: 19.08 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4062, allocations: 0 / 0.7759 GB, free: 19.08 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.4065, allocations: 39.98 kB / 0.776 GB, free: 19.04 MB / 458.7 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.0001948/0.4067, allocations: 131.1 kB / 0.7761 GB, free: 18.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.4076, allocations: 211.7 kB / 0.7763 GB, free: 18.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4076, allocations: 4 kB / 0.7763 GB, free: 18.69 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.408, allocations: 104 kB / 0.7764 GB, free: 18.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002483/0.4083, allocations: 9.438 kB / 0.7764 GB, free: 18.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.4097, allocations: 0.5302 MB / 0.7769 GB, free: 18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.5e-05/0.4098, allocations: 0.6926 MB / 0.7776 GB, free: 17.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.41, allocations: 24.88 kB / 0.7776 GB, free: 17.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.41, allocations: 19.44 kB / 0.7776 GB, free: 17.24 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.41, allocations: 0 / 0.7776 GB, free: 17.24 MB / 458.7 MB Notification: Performance of Templates: time 0.003417/0.4135, allocations: 1.64 MB / 0.7792 GB, free: 15.6 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)