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.829/1.829, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001572/0.001572, allocations: 195.9 kB / 377.1 MB, free: 1.531 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.923/1.923, allocations: 205.4 MB / 0.6366 GB, free: 8.645 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.0009609/0.000961, allocations: 95.91 kB / 0.7509 GB, free: 62.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2833, allocations: 116.3 MB / 0.9884 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7226/1.006, allocations: 139.7 MB / 1.125 GB, free: 35.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.006, allocations: 79.33 kB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01164/1.018, allocations: 4.146 MB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.374e-06/1.018, allocations: 3.938 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.838e-06/1.018, allocations: 4 kB / 1.129 GB, free: 31.91 MB / 0.7292 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.0005327/1.019, allocations: 394.5 kB / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.019, allocations: 15.34 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/1.019, allocations: 30.56 kB / 1.129 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003124/1.019, allocations: 59.88 kB / 1.13 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/1.019, allocations: 171.2 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/1.019, allocations: 7.938 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/1.019, allocations: 3.438 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/1.019, allocations: 87.06 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/1.019, allocations: 0 / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.02, allocations: 0 / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/1.02, allocations: 1.125 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/1.02, allocations: 84.09 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/1.02, allocations: 179.9 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/1.021, allocations: 139.3 kB / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/1.021, allocations: 0 / 1.13 GB, free: 30.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/1.021, allocations: 38.69 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/1.021, allocations: 0 / 1.13 GB, free: 30.67 MB / 0.7292 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.004982/1.026, allocations: 1.025 MB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/1.026, allocations: 54.78 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.29e-05/1.026, allocations: 104.9 kB / 1.131 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/1.026, allocations: 30.36 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/1.026, allocations: 88.14 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/1.026, allocations: 26.89 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/1.026, allocations: 4 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/1.026, allocations: 318.8 kB / 1.132 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004211/1.026, allocations: 130.8 kB / 1.132 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003881/1.027, allocations: 132.4 kB / 1.132 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/1.027, allocations: 123.7 kB / 1.132 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/1.027, allocations: 4 kB / 1.132 GB, free: 28.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008652/1.028, allocations: 312.5 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/1.028, allocations: 4.562 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.028, allocations: 0 / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/1.028, allocations: 5.172 kB / 1.132 GB, free: 28.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/1.029, allocations: 71.25 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.029, allocations: 0 / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/1.029, allocations: 43.81 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/1.029, allocations: 14.27 kB / 1.133 GB, free: 28.61 MB / 0.7292 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 9.064e-05/1.029, allocations: 118.5 kB / 1.133 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/1.029, allocations: 7.906 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.125e-05/1.029, allocations: 13.69 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.029, allocations: 3.938 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.029, allocations: 0.75 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/1.029, allocations: 4 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/1.031, allocations: 0.687 MB / 1.133 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.031, allocations: 4 kB / 1.133 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/1.031, allocations: 74 kB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/1.031, allocations: 0 / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.031, allocations: 7.969 kB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/1.031, allocations: 3.875 kB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.031, allocations: 0 / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008704/1.032, allocations: 426.8 kB / 1.134 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.621e-05/1.032, allocations: 89.52 kB / 1.134 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/1.032, allocations: 7.953 kB / 1.134 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/1.033, allocations: 49.78 kB / 1.134 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/1.033, allocations: 11.31 kB / 1.134 GB, free: 27.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/1.033, allocations: 15.55 kB / 1.134 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.728e-05/1.033, allocations: 88.06 kB / 1.134 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.033, allocations: 0 / 1.134 GB, free: 27.15 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003141/1.033, allocations: 43.5 kB / 1.134 GB, free: 27.11 MB / 0.7292 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.001252/1.034, allocations: 1.116 MB / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008743/1.035, allocations: 272.8 kB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.035, allocations: 1.125 kB / 1.136 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004518/1.036, allocations: 138.3 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/1.036, allocations: 8.797 kB / 1.136 GB, free: 25.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/1.039, allocations: 1.22 MB / 1.137 GB, free: 24.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/1.04, allocations: 0.6881 MB / 1.138 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001519/1.04, allocations: 23.69 kB / 1.138 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/1.04, allocations: 33.27 kB / 1.138 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/1.04, allocations: 0 / 1.138 GB, free: 23.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/1.056, allocations: 2.658 MB / 1.14 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/1.056, allocations: 188.2 kB / 1.14 GB, free: 22.25 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.666, allocations: 0 / 1.14 GB, free: 22.25 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)