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.5.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.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.69/0.69, allocations: 127.4 MB / 134.9 MB, free: 3.727 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.001049/0.001049, allocations: 184.8 kB / 164.7 MB, free: 6.523 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.2 MB / 399.5 MB, free: 5.938 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.000888/0.000888, allocations: 90.41 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.795e-05, allocations: 11.94 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1668, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5685/0.7354, allocations: 103 MB / 0.7222 GB, free: 12.43 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.7357, allocations: 82.75 kB / 0.7223 GB, free: 12.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01333/0.7491, allocations: 4.333 MB / 0.7265 GB, free: 8.73 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.7492, allocations: 3.938 kB / 0.7265 GB, free: 8.727 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.7492, allocations: 4 kB / 0.7265 GB, free: 8.723 MB / 490.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.0005361/0.7497, allocations: 377.2 kB / 0.7269 GB, free: 8.312 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.723e-05/0.7498, allocations: 8.031 kB / 0.7269 GB, free: 8.305 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003518/0.7502, allocations: 63.66 kB / 0.727 GB, free: 8.246 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.7504, allocations: 175 kB / 0.7271 GB, free: 8.035 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.7505, allocations: 4 kB / 0.7271 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.7505, allocations: 0 / 0.7271 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/0.7506, allocations: 23.05 kB / 0.7272 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001093/0.7507, allocations: 43.12 kB / 0.7272 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.7507, allocations: 0 / 0.7272 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.7508, allocations: 1.031 kB / 0.7272 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.7508, allocations: 0 / 0.7272 GB, free: 7.969 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002473/0.751, allocations: 149 kB / 0.7274 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.7512, allocations: 57.81 kB / 0.7274 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.7512, allocations: 12.67 kB / 0.7274 GB, free: 7.723 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.7512, allocations: 7.984 kB / 0.7274 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.7513, allocations: 30.56 kB / 0.7275 GB, free: 7.676 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 2.154e-06/0.7513, allocations: 0 / 0.7275 GB, free: 7.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=9): time 0.002517/0.7538, allocations: 470.4 kB / 0.7279 GB, free: 7.246 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.7539, allocations: 51.41 kB / 0.728 GB, free: 7.184 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.754, allocations: 107.9 kB / 0.7281 GB, free: 7.078 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.7541, allocations: 25.7 kB / 0.7281 GB, free: 7.047 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.735e-05/0.7541, allocations: 83.27 kB / 0.7282 GB, free: 6.965 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.7542, allocations: 27.12 kB / 0.7282 GB, free: 6.941 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.7542, allocations: 0 / 0.7282 GB, free: 6.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.7544, allocations: 330.7 kB / 0.7285 GB, free: 6.609 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.7545, allocations: 35.17 kB / 0.7285 GB, free: 6.586 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.7545, allocations: 39.11 kB / 0.7286 GB, free: 6.559 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.7547, allocations: 54.81 kB / 0.7286 GB, free: 6.516 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.7547, allocations: 0 / 0.7286 GB, free: 6.516 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002896/0.755, allocations: 150.6 kB / 0.7288 GB, free: 6.387 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.755, allocations: 7.938 kB / 0.7288 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.755, allocations: 4.062 kB / 0.7288 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.7551, allocations: 0 / 0.7288 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.7554, allocations: 67.92 kB / 0.7288 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.7555, allocations: 0 / 0.7288 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.7557, allocations: 47.95 kB / 0.7289 GB, free: 6.262 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.7558, allocations: 11.98 kB / 0.7289 GB, free: 6.25 MB / 490.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 () * 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.891e-05/0.7559, allocations: 104.9 kB / 0.729 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002856/0.7562, allocations: 154.9 kB / 0.7292 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.922e-05/0.7562, allocations: 4 kB / 0.7292 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.7562, allocations: 8.344 kB / 0.7292 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.7562, allocations: 3.938 kB / 0.7292 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.7562, allocations: 3.984 kB / 0.7292 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.7562, allocations: 3.953 kB / 0.7292 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.7574, allocations: 0.5072 MB / 0.7297 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7574, allocations: 4.062 kB / 0.7297 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.7577, allocations: 67.92 kB / 0.7297 GB, free: 5.398 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.7578, allocations: 3.953 kB / 0.7297 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.7578, allocations: 7.984 kB / 0.7298 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7578, allocations: 0 / 0.7298 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7578, allocations: 0 / 0.7298 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.7581, allocations: 269.4 kB / 0.73 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.7582, allocations: 80.48 kB / 0.7301 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.7582, allocations: 0 / 0.7301 GB, free: 5.016 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.7585, allocations: 47.95 kB / 0.7301 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.163e-05/0.7586, allocations: 11.97 kB / 0.7301 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.7586, allocations: 7.984 kB / 0.7301 GB, free: 4.949 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.55e-05/0.7587, allocations: 87.48 kB / 0.7302 GB, free: 4.867 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7587, allocations: 0 / 0.7302 GB, free: 4.867 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003164/0.759, allocations: 39.94 kB / 0.7303 GB, free: 4.828 MB / 490.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 () * 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.0007823/0.7598, allocations: 0.9686 MB / 0.7312 GB, free: 3.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.76, allocations: 81.08 kB / 0.7313 GB, free: 3.781 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.76, allocations: 4 kB / 0.7313 GB, free: 3.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.109e-05/0.7601, allocations: 54.22 kB / 0.7313 GB, free: 3.734 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.7603, allocations: 4.141 kB / 0.7314 GB, free: 3.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.7618, allocations: 397.1 kB / 0.7317 GB, free: 3.309 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.7621, allocations: 0.6923 MB / 0.7324 GB, free: 2.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.7622, allocations: 28.59 kB / 0.7324 GB, free: 2.562 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.7623, allocations: 37.95 kB / 0.7325 GB, free: 2.531 MB / 490.7 MB Notification: Performance of SimCode: time 3.4e-07/0.7624, allocations: 0 / 0.7325 GB, free: 2.531 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.7854, allocations: 2.281 MB / 0.7347 GB, free: 260 kB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/0.7857, allocations: 169.7 kB / 0.7349 GB, free: 56 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.401, allocations: 0 / 0.7349 GB, free: 56 kB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)