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.9215/0.9215, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.0009809/0.0009809, allocations: 184.9 kB / 182.2 MB, free: 9.449 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.375/1.375, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009397/0.0009398, allocations: 83.7 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 285.6 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.994e-05/1.993e-05, allocations: 8 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3461, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1254/0.4715, allocations: 108.7 MB / 0.8635 GB, free: 3.223 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.4717, allocations: 83.77 kB / 0.8636 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01342/0.4852, allocations: 4.16 MB / 0.8676 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4852, allocations: 4 kB / 0.8676 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.4852, allocations: 4 kB / 0.8676 GB, free: 14.97 MB / 0.5417 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.0004338/0.4857, allocations: 370.4 kB / 0.868 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4857, allocations: 8.031 kB / 0.868 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/0.4861, allocations: 63.84 kB / 0.8681 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.4863, allocations: 167 kB / 0.8682 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4863, allocations: 7.953 kB / 0.8682 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4863, allocations: 4 kB / 0.8682 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.311e-05/0.4864, allocations: 23.98 kB / 0.8683 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.001e-05/0.4865, allocations: 45.67 kB / 0.8683 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4865, allocations: 4 kB / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4865, allocations: 3.984 kB / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.4865, allocations: 0 / 0.8683 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.4867, allocations: 146.1 kB / 0.8684 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.713e-05/0.4868, allocations: 46.58 kB / 0.8685 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.4868, allocations: 20.97 kB / 0.8685 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.4868, allocations: 3.953 kB / 0.8685 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.4869, allocations: 42.97 kB / 0.8686 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.4869, allocations: 0 / 0.8686 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.002601/0.4895, allocations: 468.9 kB / 0.869 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.4895, allocations: 55.41 kB / 0.8691 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.4896, allocations: 101 kB / 0.8691 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.4896, allocations: 25.7 kB / 0.8692 GB, free: 13.22 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.4897, allocations: 80.14 kB / 0.8692 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.4897, allocations: 31.55 kB / 0.8693 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.4898, allocations: 0 / 0.8693 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.4899, allocations: 322.8 kB / 0.8696 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.892e-05/0.49, allocations: 35.98 kB / 0.8696 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.921e-05/0.49, allocations: 39.92 kB / 0.8697 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.4902, allocations: 52.23 kB / 0.8697 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4902, allocations: 3.938 kB / 0.8697 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003154/0.4905, allocations: 149.5 kB / 0.8699 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4906, allocations: 9.406 kB / 0.8699 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.4906, allocations: 0 / 0.8699 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.4906, allocations: 0 / 0.8699 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.491, allocations: 71.91 kB / 0.8699 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.491, allocations: 0 / 0.8699 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.4913, allocations: 47.95 kB / 0.87 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.4913, allocations: 7.984 kB / 0.87 GB, free: 12.37 MB / 0.5417 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 () * 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 8.942e-05/0.4914, allocations: 105 kB / 0.8701 GB, free: 12.26 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.4915, allocations: 11.86 kB / 0.8701 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.4915, allocations: 8.625 kB / 0.8701 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4915, allocations: 0 / 0.8701 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4915, allocations: 0 / 0.8701 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4915, allocations: 0 / 0.8701 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.4927, allocations: 0.5218 MB / 0.8706 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4928, allocations: 0 / 0.8706 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.4931, allocations: 71.98 kB / 0.8707 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4931, allocations: 0 / 0.8707 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.4931, allocations: 7.984 kB / 0.8707 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4932, allocations: 3.938 kB / 0.8707 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4932, allocations: 6.484 kB / 0.8707 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.4935, allocations: 256.5 kB / 0.8709 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.4936, allocations: 89.02 kB / 0.871 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.4936, allocations: 3.984 kB / 0.871 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.4939, allocations: 43.97 kB / 0.8711 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.494, allocations: 15.92 kB / 0.8711 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.494, allocations: 11.98 kB / 0.8711 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.952e-05/0.494, allocations: 91.27 kB / 0.8712 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/0.494, allocations: 0 / 0.8712 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002892/0.4943, allocations: 32.12 kB / 0.8712 GB, free: 10.99 MB / 0.5417 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 () * 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.0001757/0.4945, allocations: 127.1 kB / 0.8713 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.4947, allocations: 91.89 kB / 0.8714 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4947, allocations: 0 / 0.8714 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.4948, allocations: 47.91 kB / 0.8715 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.495, allocations: 4.125 kB / 0.8715 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.4964, allocations: 353.4 kB / 0.8718 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.4967, allocations: 0.6891 MB / 0.8725 GB, free: 9.625 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001507/0.4968, allocations: 20.67 kB / 0.8725 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.99e-05/0.4969, allocations: 27.39 kB / 0.8725 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of SimCode: time 4.5e-07/0.4969, allocations: 4 kB / 0.8725 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of Templates: time 0.003639/0.5006, allocations: 1.693 MB / 0.8742 GB, free: 7.875 MB / 0.5417 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)