Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.71/1.71, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001382/0.001383, allocations: 172.6 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 223.2 MB / 0.6626 GB, free: 4.352 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009914, allocations: 92.19 kB / 0.7808 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004274, allocations: 16 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.6816, allocations: 120.3 MB / 1.026 GB, free: 55.99 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.8641, allocations: 141.9 MB / 1.165 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.8643, allocations: 76.98 kB / 1.165 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0122/0.8765, allocations: 4.213 MB / 1.169 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8766, allocations: 0 / 1.169 GB, free: 14.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.8766, allocations: 0 / 1.169 GB, free: 14.63 MB / 0.7448 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.0004537/0.877, allocations: 385.1 kB / 1.169 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.8771, allocations: 8.594 kB / 1.169 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002875/0.8774, allocations: 55.84 kB / 1.17 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.8775, allocations: 174.7 kB / 1.17 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.8776, allocations: 4.375 kB / 1.17 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.8776, allocations: 384 / 1.17 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.8779, allocations: 86.44 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8779, allocations: 1.188 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.8779, allocations: 4.875 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8779, allocations: 1.359 kB / 1.17 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.8782, allocations: 90.48 kB / 1.17 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.8784, allocations: 168.5 kB / 1.17 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.8789, allocations: 140.1 kB / 1.17 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001719/0.8791, allocations: 51.25 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.8792, allocations: 0.6562 kB / 1.17 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.8792, allocations: 38.56 kB / 1.17 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.8792, allocations: 0 / 1.17 GB, free: 13.39 MB / 0.7448 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.004967/0.8842, allocations: 1.024 MB / 1.171 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.8842, allocations: 52.16 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.8843, allocations: 110.2 kB / 1.171 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.8844, allocations: 30.45 kB / 1.171 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.8844, allocations: 88.89 kB / 1.172 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.547e-05/0.8845, allocations: 34.03 kB / 1.172 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.8845, allocations: 0 / 1.172 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.8846, allocations: 317.1 kB / 1.172 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.8851, allocations: 135.4 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004379/0.8856, allocations: 130.7 kB / 1.172 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.8865, allocations: 255.9 kB / 1.172 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8865, allocations: 3.938 kB / 1.172 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009662/0.8875, allocations: 321.7 kB / 1.173 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8875, allocations: 8 kB / 1.173 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.8875, allocations: 1.219 kB / 1.173 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.8875, allocations: 0 / 1.173 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.8879, allocations: 71.45 kB / 1.173 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.8879, allocations: 0.7812 kB / 1.173 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.8882, allocations: 49.31 kB / 1.173 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.8882, allocations: 9.438 kB / 1.173 GB, free: 11.21 MB / 0.7448 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 9.57e-05/0.8883, allocations: 117.8 kB / 1.173 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.8884, allocations: 12.59 kB / 1.173 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.8884, allocations: 13.69 kB / 1.173 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.8884, allocations: 4 kB / 1.173 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8884, allocations: 0 / 1.173 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.8885, allocations: 1.781 kB / 1.173 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.8904, allocations: 0.6898 MB / 1.174 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.8904, allocations: 2.625 kB / 1.174 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.8907, allocations: 75.83 kB / 1.174 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.8907, allocations: 0.5625 kB / 1.174 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.8907, allocations: 8.172 kB / 1.174 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.8907, allocations: 0 / 1.174 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8908, allocations: 0.9375 kB / 1.174 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.8917, allocations: 410.9 kB / 1.174 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.902e-05/0.8918, allocations: 82.23 kB / 1.174 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.8918, allocations: 4.656 kB / 1.174 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.8921, allocations: 47.48 kB / 1.174 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.8922, allocations: 14.36 kB / 1.174 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.8922, allocations: 7.656 kB / 1.174 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.729e-05/0.8923, allocations: 93.91 kB / 1.174 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8923, allocations: 0 / 1.174 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000319/0.8926, allocations: 45.3 kB / 1.174 GB, free: 9.742 MB / 0.7448 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.0002094/0.8928, allocations: 127.1 kB / 1.175 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000939/0.8938, allocations: 280.4 kB / 1.175 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.8938, allocations: 0 / 1.175 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.8942, allocations: 141.7 kB / 1.175 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.8945, allocations: 8.703 kB / 1.175 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.8962, allocations: 0.4906 MB / 1.175 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.8965, allocations: 0.6823 MB / 1.176 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000172/0.8967, allocations: 26.88 kB / 1.176 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.8968, allocations: 27.16 kB / 1.176 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.8968, allocations: 0 / 1.176 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of Templates: time 0.004112/0.9009, allocations: 1.797 MB / 1.178 GB, free: 6.367 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)