Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.544/2.544, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001511/0.001511, allocations: 184.9 kB / 360.6 MB, free: 7.285 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.088/2.088, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001111/0.001111, allocations: 93.91 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.215e-05, allocations: 8 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8388/0.8389, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/1.081, allocations: 137.9 MB / 1.098 GB, free: 2.613 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/1.082, allocations: 79.95 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02151/1.103, allocations: 4.116 MB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/1.103, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.214e-06/1.103, allocations: 3.75 kB / 1.102 GB, free: 14.49 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.0005226/1.104, allocations: 378.3 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/1.104, allocations: 11.97 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004784/1.104, allocations: 64.98 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00018/1.104, allocations: 171 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/1.104, allocations: 4 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/1.104, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/1.105, allocations: 19.98 kB / 1.103 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/1.105, allocations: 56.67 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/1.105, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.105, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.105, allocations: 0 / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/1.105, allocations: 150.1 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/1.105, allocations: 46.58 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.097e-05/1.105, allocations: 20.97 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/1.105, allocations: 4 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.105, allocations: 34.56 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/1.105, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.004657/1.11, allocations: 472.9 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.11, allocations: 55.41 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/1.11, allocations: 101 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/1.11, allocations: 25.7 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.88e-05/1.11, allocations: 84.14 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/1.11, allocations: 27.55 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/1.11, allocations: 0 / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.111, allocations: 326.8 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/1.111, allocations: 39.92 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/1.111, allocations: 39.98 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/1.111, allocations: 49.73 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.111, allocations: 0 / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005309/1.112, allocations: 145.5 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.112, allocations: 8 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/1.112, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/1.112, allocations: 3.984 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/1.112, allocations: 67.92 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.113, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/1.113, allocations: 47.95 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/1.113, allocations: 3.984 kB / 1.104 GB, free: 11.89 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 0.0001157/1.113, allocations: 120.7 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005406/1.114, allocations: 151.2 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/1.114, allocations: 3.906 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/1.114, allocations: 14.25 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.114, allocations: 3.984 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.114, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/1.114, allocations: 3.984 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/1.116, allocations: 0.4984 MB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.116, allocations: 7.938 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/1.117, allocations: 71.98 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/1.117, allocations: 0 / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/1.117, allocations: 7.984 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/1.117, allocations: 0 / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.117, allocations: 7.953 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/1.117, allocations: 255.8 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/1.117, allocations: 92.95 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/1.117, allocations: 2.688 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/1.118, allocations: 47.95 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.563e-05/1.118, allocations: 15.98 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.978e-05/1.118, allocations: 7.984 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.356e-05/1.118, allocations: 90.64 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.31e-07/1.118, allocations: 0 / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004323/1.119, allocations: 39.92 kB / 1.106 GB, free: 10.36 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.001027/1.12, allocations: 0.9485 MB / 1.107 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003507/1.12, allocations: 83.95 kB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.12, allocations: 0 / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/1.12, allocations: 51.89 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/1.12, allocations: 6.016 kB / 1.107 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002781/1.123, allocations: 404.2 kB / 1.107 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.124, allocations: 0.689 MB / 1.108 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002488/1.124, allocations: 30.39 kB / 1.108 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/1.124, allocations: 35.39 kB / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of SimCode: time 1.403e-06/1.124, allocations: 0 / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04109/1.165, allocations: 2.259 MB / 1.11 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003153/1.165, allocations: 156 kB / 1.11 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.557, allocations: 0 / 1.11 GB, free: 5.602 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)