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.661/1.661, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001304/0.001304, allocations: 179.2 kB / 371.6 MB, free: 3.371 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001017/0.001017, allocations: 95.06 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.374e-05, allocations: 8 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2472, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8421/1.089, allocations: 139.7 MB / 1.116 GB, free: 44.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/1.09, allocations: 76.98 kB / 1.116 GB, free: 44.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0112/1.101, allocations: 4.119 MB / 1.12 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/1.101, allocations: 0 / 1.12 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.478e-06/1.101, allocations: 4 kB / 1.12 GB, free: 41.83 MB / 0.7448 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.000331/1.101, allocations: 378.7 kB / 1.121 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.101, allocations: 11.97 kB / 1.121 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/1.101, allocations: 41.66 kB / 1.121 GB, free: 41.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002804/1.102, allocations: 58.08 kB / 1.121 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.102, allocations: 168.3 kB / 1.121 GB, free: 41.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/1.102, allocations: 8.953 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/1.102, allocations: 7.938 kB / 1.121 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/1.102, allocations: 44.05 kB / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/1.102, allocations: 0 / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/1.102, allocations: 3.469 kB / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/1.102, allocations: 0 / 1.121 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.223e-05/1.102, allocations: 24.17 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/1.102, allocations: 172.8 kB / 1.121 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.915e-05/1.102, allocations: 61.72 kB / 1.121 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/1.102, allocations: 15.98 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/1.102, allocations: 4 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/1.102, allocations: 31.06 kB / 1.121 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/1.102, allocations: 0 / 1.121 GB, free: 40.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.002235/1.105, allocations: 448.3 kB / 1.122 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/1.105, allocations: 51.41 kB / 1.122 GB, free: 40.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/1.105, allocations: 104.5 kB / 1.122 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/1.105, allocations: 29.33 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.473e-05/1.105, allocations: 84.08 kB / 1.122 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.757e-05/1.105, allocations: 35.28 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.165e-05/1.105, allocations: 0 / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.779e-05/1.105, allocations: 326.6 kB / 1.122 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/1.105, allocations: 41.84 kB / 1.122 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/1.105, allocations: 35.31 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.918e-05/1.105, allocations: 35.92 kB / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/1.105, allocations: 0 / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002288/1.105, allocations: 129.5 kB / 1.123 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.106, allocations: 8 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.106, allocations: 0 / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/1.106, allocations: 1.188 kB / 1.123 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/1.106, allocations: 68.48 kB / 1.123 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.597e-06/1.106, allocations: 4.562 kB / 1.123 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002557/1.106, allocations: 58.3 kB / 1.123 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/1.106, allocations: 11.56 kB / 1.123 GB, free: 39.55 MB / 0.7448 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 6.376e-05/1.106, allocations: 106.6 kB / 1.123 GB, free: 39.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/1.106, allocations: 11.47 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/1.106, allocations: 8.562 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/1.106, allocations: 0.6562 kB / 1.123 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.106, allocations: 5.031 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.106, allocations: 3.562 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/1.107, allocations: 0.5099 MB / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.107, allocations: 0 / 1.123 GB, free: 38.97 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/1.108, allocations: 76.45 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/1.108, allocations: 4 kB / 1.123 GB, free: 38.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/1.108, allocations: 7.969 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.108, allocations: 0.5469 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.108, allocations: 3.953 kB / 1.123 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/1.108, allocations: 251.2 kB / 1.124 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/1.108, allocations: 81.02 kB / 1.124 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.001e-05/1.108, allocations: 8.516 kB / 1.124 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/1.108, allocations: 45.36 kB / 1.124 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/1.109, allocations: 18.86 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.109, allocations: 3.422 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.554e-05/1.109, allocations: 91.55 kB / 1.124 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.109, allocations: 0 / 1.124 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003518/1.109, allocations: 41.22 kB / 1.124 GB, free: 38.41 MB / 0.7448 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.0007015/1.11, allocations: 0.9487 MB / 1.125 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002287/1.11, allocations: 85.48 kB / 1.125 GB, free: 37.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.11, allocations: 4 kB / 1.125 GB, free: 37.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/1.11, allocations: 54.92 kB / 1.125 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/1.11, allocations: 7.25 kB / 1.125 GB, free: 37.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/1.112, allocations: 408.8 kB / 1.125 GB, free: 37.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/1.112, allocations: 0.6875 MB / 1.126 GB, free: 36.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001501/1.112, allocations: 21.98 kB / 1.126 GB, free: 36.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/1.112, allocations: 32.86 kB / 1.126 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/1.112, allocations: 4 kB / 1.126 GB, free: 36.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01562/1.128, allocations: 2.631 MB / 1.129 GB, free: 34.9 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/1.128, allocations: 167.7 kB / 1.129 GB, free: 34.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.719, allocations: 0 / 1.129 GB, free: 34.68 MB / 0.7448 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)