Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.522/1.522, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 182.6 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 0.5775 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009096/0.0009096, allocations: 98.02 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003593, allocations: 12.59 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 106.3 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.3827, allocations: 132.5 MB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.3831, allocations: 79.94 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01417/0.3972, allocations: 4.163 MB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3973, allocations: 0 / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.3973, allocations: 0 / 1.034 GB, free: 7.309 MB / 0.6823 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.000535/0.3979, allocations: 396.7 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.3979, allocations: 8.031 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.398, allocations: 34.55 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.3983, allocations: 51.95 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.3985, allocations: 175 kB / 1.034 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.3985, allocations: 8 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.3985, allocations: 0 / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.3988, allocations: 85.58 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3988, allocations: 3.906 kB / 1.034 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3988, allocations: 4 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3988, allocations: 0 / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003535/0.3992, allocations: 91.84 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.3994, allocations: 165.6 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005257/0.4, allocations: 150.5 kB / 1.035 GB, free: 6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.4, allocations: 4 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.4, allocations: 34.5 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.4, allocations: 0 / 1.035 GB, free: 5.953 MB / 0.6823 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.005465/0.4055, allocations: 1.016 MB / 1.036 GB, free: 4.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.4056, allocations: 51.41 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4057, allocations: 109 kB / 1.036 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.4057, allocations: 29.7 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.374e-05/0.4058, allocations: 80.14 kB / 1.036 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.4058, allocations: 35.55 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-05/0.4059, allocations: 4 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.406, allocations: 318.8 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.4065, allocations: 135.8 kB / 1.037 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.4069, allocations: 127.9 kB / 1.037 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004442/0.4074, allocations: 123.9 kB / 1.037 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.4074, allocations: 0 / 1.037 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00101/0.4084, allocations: 317.3 kB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4084, allocations: 4 kB / 1.037 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4085, allocations: 3.984 kB / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4085, allocations: 0 / 1.037 GB, free: 3.574 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.4089, allocations: 71.92 kB / 1.037 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.4089, allocations: 0 / 1.037 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.4093, allocations: 47.95 kB / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.4094, allocations: 7.984 kB / 1.037 GB, free: 3.449 MB / 0.6823 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 0.0001344/0.4095, allocations: 121.8 kB / 1.037 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.4096, allocations: 7.922 kB / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.57e-05/0.4096, allocations: 12.38 kB / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4096, allocations: 0 / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4096, allocations: 0 / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4096, allocations: 0 / 1.037 GB, free: 3.305 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.4116, allocations: 0.7005 MB / 1.038 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.4116, allocations: 0.75 kB / 1.038 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.412, allocations: 67.98 kB / 1.038 GB, free: 2.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.412, allocations: 7.984 kB / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.412, allocations: 0 / 1.038 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.412, allocations: 11.92 kB / 1.038 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.412, allocations: 7.953 kB / 1.038 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4131, allocations: 428.6 kB / 1.039 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.783e-05/0.4131, allocations: 85.16 kB / 1.039 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.4132, allocations: 3.938 kB / 1.039 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.4135, allocations: 55.94 kB / 1.039 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.4135, allocations: 15.97 kB / 1.039 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.4136, allocations: 7.984 kB / 1.039 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.569e-05/0.4136, allocations: 87.28 kB / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4136, allocations: 0 / 1.039 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003152/0.414, allocations: 47.92 kB / 1.039 GB, free: 1.672 MB / 0.6823 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.001475/0.4154, allocations: 1.109 MB / 1.04 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009161/0.4164, allocations: 267.7 kB / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4164, allocations: 4 kB / 1.04 GB, free: 260 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004657/0.4169, allocations: 143.9 kB / 1.04 GB, free: 116 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.417, allocations: 3.375 kB / 1.04 GB, free: 116 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003784/0.4208, allocations: 1.227 MB / 1.042 GB, free: 14.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.4213, allocations: 0.6887 MB / 1.042 GB, free: 14.11 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.4215, allocations: 25.02 kB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.4216, allocations: 45.06 kB / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of SimCode: time 4.608e-06/0.4216, allocations: 0 / 1.042 GB, free: 14.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.4376, allocations: 2.661 MB / 1.045 GB, free: 11.55 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002612/0.438, allocations: 195.8 kB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.97, allocations: 0 / 1.045 GB, free: 11.32 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_InverseXRegularized.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)