Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.707/1.707, allocations: 289.9 MB / 297.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 180.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009436/0.0009434, allocations: 96.55 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.261e-05/3.263e-05, allocations: 8 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8533/0.8533, allocations: 116.3 MB / 0.9734 GB, free: 76.25 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/1.068, allocations: 139 MB / 1.109 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/1.068, allocations: 87.86 kB / 1.109 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01248/1.081, allocations: 4.114 MB / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.954e-06/1.081, allocations: 0 / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.081, allocations: 4 kB / 1.113 GB, free: 6.961 MB / 0.7136 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.0004316/1.081, allocations: 374.3 kB / 1.114 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/1.081, allocations: 11.97 kB / 1.114 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003111/1.082, allocations: 63.84 kB / 1.114 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/1.082, allocations: 167 kB / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/1.082, allocations: 0 / 1.114 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/1.082, allocations: 7.938 kB / 1.114 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.127e-05/1.082, allocations: 19.98 kB / 1.114 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.349e-05/1.082, allocations: 45.67 kB / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.082, allocations: 0 / 1.114 GB, free: 6.195 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/1.082, allocations: 4 kB / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/1.082, allocations: 0 / 1.114 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/1.082, allocations: 154.2 kB / 1.114 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.991e-05/1.082, allocations: 49.78 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.908e-05/1.082, allocations: 16.98 kB / 1.114 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/1.082, allocations: 7.922 kB / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/1.082, allocations: 34.56 kB / 1.114 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/1.082, allocations: 0 / 1.114 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.002502/1.085, allocations: 464.9 kB / 1.115 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.085, allocations: 59.39 kB / 1.115 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/1.085, allocations: 106.5 kB / 1.115 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/1.085, allocations: 25.7 kB / 1.115 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.156e-05/1.085, allocations: 84.14 kB / 1.115 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/1.085, allocations: 31.55 kB / 1.115 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/1.085, allocations: 0 / 1.115 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.085, allocations: 314.8 kB / 1.115 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/1.085, allocations: 35.98 kB / 1.115 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.631e-05/1.086, allocations: 39.97 kB / 1.115 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/1.086, allocations: 57.58 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.086, allocations: 7.953 kB / 1.115 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002846/1.086, allocations: 141.6 kB / 1.115 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.086, allocations: 4 kB / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.086, allocations: 0 / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.086, allocations: 0 / 1.115 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/1.086, allocations: 75.84 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/1.086, allocations: 4 kB / 1.115 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/1.087, allocations: 43.95 kB / 1.116 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/1.087, allocations: 11.92 kB / 1.116 GB, free: 4.355 MB / 0.7136 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.387e-05/1.087, allocations: 103.7 kB / 1.116 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002854/1.087, allocations: 153.4 kB / 1.116 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/1.087, allocations: 7.906 kB / 1.116 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.132e-05/1.087, allocations: 12.62 kB / 1.116 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/1.087, allocations: 0 / 1.116 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.087, allocations: 4 kB / 1.116 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.087, allocations: 3.984 kB / 1.116 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/1.088, allocations: 0.5021 MB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.088, allocations: 0 / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/1.089, allocations: 67.94 kB / 1.116 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/1.089, allocations: 6.047 kB / 1.116 GB, free: 3.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/1.089, allocations: 4 kB / 1.116 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.089, allocations: 3.984 kB / 1.116 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/1.089, allocations: 6.734 kB / 1.116 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003207/1.089, allocations: 268.4 kB / 1.117 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/1.089, allocations: 81.02 kB / 1.117 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/1.089, allocations: 11.94 kB / 1.117 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/1.09, allocations: 45.36 kB / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/1.09, allocations: 7.984 kB / 1.117 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/1.09, allocations: 11.98 kB / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.32e-05/1.09, allocations: 87.28 kB / 1.117 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.09, allocations: 0 / 1.117 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002962/1.09, allocations: 43.92 kB / 1.117 GB, free: 2.832 MB / 0.7136 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.0007884/1.091, allocations: 0.9525 MB / 1.118 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002129/1.091, allocations: 93.77 kB / 1.118 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.091, allocations: 0 / 1.118 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.299e-05/1.091, allocations: 43.91 kB / 1.118 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/1.091, allocations: 4 kB / 1.118 GB, free: 1.703 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/1.093, allocations: 404 kB / 1.118 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/1.093, allocations: 0.6924 MB / 1.119 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001472/1.093, allocations: 27.38 kB / 1.119 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/1.093, allocations: 31.39 kB / 1.119 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.093, allocations: 0 / 1.119 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/1.115, allocations: 2.265 MB / 1.121 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.116, allocations: 156.7 kB / 1.121 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.682, allocations: 0 / 1.121 GB, free: 14.06 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)