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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 105 kB / 16.41 MB, free: 6.512 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.001278/0.001279, allocations: 187 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002073/0.002074, allocations: 295 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.886/0.886, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 92.19 kB / 0.6822 GB, free: 6.902 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4645, allocations: 86.98 MB / 0.7671 GB, free: 3.863 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.002052/0.4667, allocations: 0.6252 MB / 0.7677 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.4685, allocations: 1.454 MB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.4686, allocations: 0 / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.4686, allocations: 7.875 kB / 0.7691 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.189e-05/0.4687, allocations: 7.984 kB / 0.7691 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.4691, allocations: 117.5 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.65e-05/0.4692, allocations: 31.86 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.4693, allocations: 4 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.4693, allocations: 15.92 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.237e-05/0.4694, allocations: 19.92 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.4694, allocations: 3.984 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004375/0.4699, allocations: 307.4 kB / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.4699, allocations: 15.92 kB / 0.7696 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.4699, allocations: 23.86 kB / 0.7697 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.4702, allocations: 179.3 kB / 0.7698 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.4702, allocations: 4 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4702, allocations: 8 kB / 0.7698 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.4702, allocations: 0 / 0.7698 GB, free: 1.043 MB / 0.5294 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.0005194/0.4708, allocations: 377.9 kB / 0.7702 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4708, allocations: 8.031 kB / 0.7702 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003762/0.4712, allocations: 60.86 kB / 0.7703 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.4714, allocations: 172.2 kB / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4714, allocations: 384 / 0.7704 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.376e-05/0.4714, allocations: 8.375 kB / 0.7704 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.4717, allocations: 79.69 kB / 0.7705 GB, free: 272 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.4717, allocations: 7.969 kB / 0.7705 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.4717, allocations: 4 kB / 0.7705 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4717, allocations: 0 / 0.7705 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003415/0.4721, allocations: 67.92 kB / 0.7706 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002726/0.4724, allocations: 165.7 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/0.4729, allocations: 130.5 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.4731, allocations: 44.88 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.4731, allocations: 3.938 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.4732, allocations: 38.5 kB / 0.771 GB, free: 15.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.4732, allocations: 4 kB / 0.771 GB, free: 15.74 MB / 0.545 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.004095/0.4773, allocations: 0.7782 MB / 0.7717 GB, free: 14.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.4773, allocations: 51.41 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.4775, allocations: 125.9 kB / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.4775, allocations: 29.64 kB / 0.7719 GB, free: 14.72 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.4775, allocations: 84.14 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.4776, allocations: 35.55 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.4776, allocations: 25.7 kB / 0.7721 GB, free: 14.57 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4777, allocations: 314.8 kB / 0.7724 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004186/0.4782, allocations: 103.9 kB / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.4786, allocations: 91.91 kB / 0.7725 GB, free: 14.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000807/0.4794, allocations: 192.7 kB / 0.7727 GB, free: 13.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.4794, allocations: 4 kB / 0.7727 GB, free: 13.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008805/0.4803, allocations: 245.3 kB / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4803, allocations: 4 kB / 0.773 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.4803, allocations: 4 kB / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.4804, allocations: 0 / 0.773 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.4807, allocations: 55.88 kB / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.4807, allocations: 0 / 0.773 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4809, allocations: 39.95 kB / 0.7731 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.4809, allocations: 0 / 0.7731 GB, free: 13.52 MB / 0.545 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.817e-05/0.481, allocations: 120.2 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.481, allocations: 7.906 kB / 0.7732 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.819e-05/0.4811, allocations: 20.36 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4811, allocations: 0 / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4811, allocations: 288 / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4811, allocations: 4 kB / 0.7732 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0017/0.4828, allocations: 0.5896 MB / 0.7738 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4828, allocations: 3.938 kB / 0.7738 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.4831, allocations: 51.94 kB / 0.7738 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.4831, allocations: 8 kB / 0.7738 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.4831, allocations: 4 kB / 0.7739 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4831, allocations: 0 / 0.7739 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4832, allocations: 0 / 0.7739 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009437/0.4841, allocations: 352.8 kB / 0.7742 GB, free: 12.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.4842, allocations: 89 kB / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.4842, allocations: 0 / 0.7743 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.4844, allocations: 39.95 kB / 0.7743 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.4845, allocations: 15.92 kB / 0.7743 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.4845, allocations: 4.375 kB / 0.7743 GB, free: 12.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.031e-05/0.4846, allocations: 95.64 kB / 0.7744 GB, free: 12.02 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4846, allocations: 0 / 0.7744 GB, free: 12.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002846/0.4849, allocations: 36 kB / 0.7745 GB, free: 11.98 MB / 0.545 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.0002134/0.4851, allocations: 127.2 kB / 0.7746 GB, free: 11.85 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009268/0.486, allocations: 215.7 kB / 0.7748 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.486, allocations: 4 kB / 0.7748 GB, free: 11.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.4865, allocations: 104 kB / 0.7749 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.4867, allocations: 11.94 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.4883, allocations: 423.9 kB / 0.7753 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.4886, allocations: 0.6846 MB / 0.776 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.442e-05/0.4887, allocations: 23.42 kB / 0.776 GB, free: 10.34 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.4887, allocations: 0 / 0.776 GB, free: 10.34 MB / 0.545 GB Notification: Performance of Templates: time 0.00323/0.4919, allocations: 1.442 MB / 0.7774 GB, free: 8.898 MB / 0.545 GB 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)