Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6459/0.6459, allocations: 117.9 MB / 133.9 MB, free: 4.523 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 182.4 kB / 161.7 MB, free: 2.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 394.8 MB, free: 20.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007811/0.0007812, allocations: 95.28 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004224/0.0004224, allocations: 12 kB / 0.5423 GB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3511, allocations: 74.54 MB / 0.6151 GB, free: 54.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4793, allocations: 102.3 MB / 0.7151 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4796, allocations: 87.95 kB / 0.7152 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.493, allocations: 4.382 MB / 0.7194 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4931, allocations: 0 / 0.7194 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.4931, allocations: 0 / 0.7194 GB, free: 11.18 MB / 0.4948 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.0004862/0.4936, allocations: 391.7 kB / 0.7198 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.4937, allocations: 12.03 kB / 0.7198 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.494, allocations: 60.78 kB / 0.7199 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.4941, allocations: 172.3 kB / 0.72 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.4942, allocations: 384 / 0.72 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.4942, allocations: 4.375 kB / 0.7201 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.4944, allocations: 85.95 kB / 0.7201 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4945, allocations: 8.031 kB / 0.7201 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4945, allocations: 11.86 kB / 0.7202 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4945, allocations: 0 / 0.7202 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.4949, allocations: 87.91 kB / 0.7202 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002024/0.4951, allocations: 169.7 kB / 0.7204 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.4956, allocations: 138.5 kB / 0.7205 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/0.4958, allocations: 48.94 kB / 0.7206 GB, free: 9.859 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.4958, allocations: 7.984 kB / 0.7206 GB, free: 9.852 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.4958, allocations: 38.5 kB / 0.7206 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.4959, allocations: 0 / 0.7206 GB, free: 9.805 MB / 0.4948 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.004637/0.5005, allocations: 1.02 MB / 0.7216 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.5006, allocations: 63.41 kB / 0.7217 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.5007, allocations: 109.8 kB / 0.7218 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.5007, allocations: 25.7 kB / 0.7218 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.5008, allocations: 84.14 kB / 0.7219 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.5008, allocations: 31.55 kB / 0.7219 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.5008, allocations: 7.938 kB / 0.7219 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.501, allocations: 318.8 kB / 0.7222 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.5014, allocations: 127.9 kB / 0.7224 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.5018, allocations: 127.9 kB / 0.7225 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.5027, allocations: 260.7 kB / 0.7227 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5027, allocations: 0 / 0.7227 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00103/0.5037, allocations: 325.6 kB / 0.723 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5038, allocations: 4 kB / 0.723 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.5038, allocations: 0 / 0.723 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.5038, allocations: 4 kB / 0.723 GB, free: 7.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.5042, allocations: 71.91 kB / 0.7231 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-06/0.5042, allocations: 0 / 0.7231 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.5045, allocations: 51.89 kB / 0.7232 GB, free: 7.148 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.5045, allocations: 7.984 kB / 0.7232 GB, free: 7.141 MB / 0.4948 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 0.0001031/0.5047, allocations: 109.8 kB / 0.7233 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.5047, allocations: 11.88 kB / 0.7233 GB, free: 7.012 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/0.5047, allocations: 12.36 kB / 0.7233 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5047, allocations: 4 kB / 0.7233 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5048, allocations: 4 kB / 0.7233 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5048, allocations: 0 / 0.7233 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002029/0.5068, allocations: 0.689 MB / 0.724 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5068, allocations: 0 / 0.724 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.5071, allocations: 71.92 kB / 0.724 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5071, allocations: 0 / 0.724 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.5072, allocations: 11.98 kB / 0.7241 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5072, allocations: 4 kB / 0.7241 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5072, allocations: 4 kB / 0.7241 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/0.5083, allocations: 408.8 kB / 0.7245 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.5084, allocations: 77.11 kB / 0.7245 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.5084, allocations: 4 kB / 0.7245 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.5087, allocations: 47.95 kB / 0.7246 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.364e-05/0.5088, allocations: 19.91 kB / 0.7246 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.5088, allocations: 7.984 kB / 0.7246 GB, free: 5.555 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.5089, allocations: 87.67 kB / 0.7247 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5089, allocations: 0 / 0.7247 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003316/0.5092, allocations: 43.92 kB / 0.7247 GB, free: 5.426 MB / 0.4948 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.0002757/0.5095, allocations: 131 kB / 0.7249 GB, free: 5.289 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001394/0.5109, allocations: 271.9 kB / 0.7251 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5109, allocations: 0 / 0.7251 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.5114, allocations: 140.2 kB / 0.7252 GB, free: 4.887 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.5117, allocations: 13.06 kB / 0.7253 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.5136, allocations: 0.4961 MB / 0.7257 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.5139, allocations: 0.6926 MB / 0.7264 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001718/0.5141, allocations: 20.67 kB / 0.7264 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.5142, allocations: 27.39 kB / 0.7265 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.5142, allocations: 0 / 0.7265 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of Templates: time 0.004752/0.5189, allocations: 1.812 MB / 0.7282 GB, free: 1.762 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)