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.468/1.468, allocations: 249.5 MB / 257 MB, free: 6.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009946/0.0009946, allocations: 183.7 kB / 316.3 MB, free: 3.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 1.757/1.757, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.00105/0.00105, allocations: 81.92 kB / 0.6714 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.342e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2359, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7887/1.025, allocations: 132.7 MB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/1.025, allocations: 77.89 kB / 1.015 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01216/1.037, allocations: 4.112 MB / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.232e-06/1.037, allocations: 0 / 1.019 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.037, allocations: 3.812 kB / 1.019 GB, free: 1.523 MB / 0.6355 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.0004021/1.038, allocations: 386.1 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.038, allocations: 12.03 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002985/1.038, allocations: 55.86 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/1.038, allocations: 171 kB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/1.038, allocations: 0 / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/1.038, allocations: 4 kB / 1.02 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.837e-05/1.038, allocations: 23.92 kB / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.403e-05/1.038, allocations: 41.5 kB / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.038, allocations: 0 / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/1.038, allocations: 0 / 1.02 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/1.038, allocations: 7.938 kB / 1.02 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001734/1.039, allocations: 153.9 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.735e-05/1.039, allocations: 46.38 kB / 1.02 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/1.039, allocations: 20.61 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/1.039, allocations: 0 / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/1.039, allocations: 30.56 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/1.039, allocations: 0 / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.002389/1.041, allocations: 471.5 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/1.041, allocations: 55.41 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/1.041, allocations: 108.4 kB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/1.041, allocations: 25.7 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.966e-05/1.041, allocations: 88.02 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/1.041, allocations: 27.44 kB / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/1.041, allocations: 0 / 1.021 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.042, allocations: 318.8 kB / 1.021 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.856e-05/1.042, allocations: 39.48 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.08e-05/1.042, allocations: 39.58 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/1.042, allocations: 59.31 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/1.042, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002734/1.042, allocations: 147.8 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.042, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.042, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/1.042, allocations: 0 / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/1.043, allocations: 71.98 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/1.043, allocations: 4 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/1.043, allocations: 43.95 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/1.043, allocations: 11.86 kB / 1.021 GB, free: 15.05 MB / 0.6511 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.869e-05/1.043, allocations: 112.9 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002834/1.043, allocations: 147.9 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/1.043, allocations: 4 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/1.043, allocations: 8.562 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.043, allocations: 4 kB / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.043, allocations: 0 / 1.022 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.043, allocations: 3.984 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/1.044, allocations: 0.5199 MB / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.045, allocations: 0 / 1.022 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/1.045, allocations: 71.73 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.045, allocations: 4 kB / 1.022 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.045, allocations: 3.984 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.045, allocations: 4 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.045, allocations: 7.953 kB / 1.022 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/1.045, allocations: 259.8 kB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/1.045, allocations: 88.88 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/1.045, allocations: 4 kB / 1.023 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/1.046, allocations: 43.95 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/1.046, allocations: 11.97 kB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/1.046, allocations: 7.984 kB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.276e-05/1.046, allocations: 87.03 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.623e-06/1.046, allocations: 0 / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002742/1.046, allocations: 39.88 kB / 1.023 GB, free: 13.59 MB / 0.6511 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.0006679/1.047, allocations: 0.9595 MB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001895/1.047, allocations: 86.95 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.047, allocations: 0 / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.66e-05/1.047, allocations: 43.59 kB / 1.024 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/1.047, allocations: 11.5 kB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/1.049, allocations: 386.3 kB / 1.024 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/1.049, allocations: 0.693 MB / 1.025 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000138/1.049, allocations: 25.03 kB / 1.025 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.049, allocations: 35.08 kB / 1.025 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of SimCode: time 3.51e-07/1.049, allocations: 3.938 kB / 1.025 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/1.068, allocations: 2.285 MB / 1.027 GB, free: 9.047 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/1.068, allocations: 169.9 kB / 1.027 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.37/2.438, allocations: 0 / 1.027 GB, free: 8.852 MB / 0.6511 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)