Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.73/1.73, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.0011/0.0011, allocations: 176.9 kB / 361.4 MB, free: 6.887 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.641/1.641, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008546/0.0008546, allocations: 88.92 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.948e-05/1.948e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6727, allocations: 115.3 MB / 0.9644 GB, free: 78.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.874, allocations: 138.4 MB / 1.1 GB, free: 1.312 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.8743, allocations: 76.75 kB / 1.1 GB, free: 1.238 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01181/0.8861, allocations: 3.776 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8861, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.8862, allocations: 0 / 1.103 GB, free: 13.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004408/0.8866, allocations: 382.3 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8867, allocations: 8.031 kB / 1.104 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/0.8871, allocations: 68.86 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.8872, allocations: 167 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.8872, allocations: 3.938 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.8872, allocations: 0 / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.997e-05/0.8873, allocations: 27.94 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.516e-05/0.8875, allocations: 49.67 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.8875, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.8875, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.8875, allocations: 4 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000457/0.888, allocations: 269.4 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.118e-05/0.8881, allocations: 38.52 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.8881, allocations: 16.92 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.8881, allocations: 4 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.8881, allocations: 30.56 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.8882, allocations: 0 / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002719/0.8884, allocations: 73.66 kB / 1.105 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.8885, allocations: 51.41 kB / 1.105 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.8886, allocations: 89 kB / 1.105 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.8886, allocations: 29.73 kB / 1.105 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.436e-05/0.8886, allocations: 88.14 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.8887, allocations: 7.844 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.8887, allocations: 1.219 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8888, allocations: 322.8 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.576e-05/0.8888, allocations: 12 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.8888, allocations: 8 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.889, allocations: 35.97 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.889, allocations: 0 / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001782/0.8892, allocations: 69.58 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8892, allocations: 8 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.8892, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.8892, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.8894, allocations: 33.5 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.8894, allocations: 0 / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.8896, allocations: 23.97 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.8896, allocations: 3.094 kB / 1.105 GB, free: 11.47 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 (2): * Single equations (assignments): 2 * 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 7.15e-05/0.8897, allocations: 108.9 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001928/0.8899, allocations: 77.61 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.8899, allocations: 3.938 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.8899, allocations: 7.734 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8899, allocations: 3.984 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.8899, allocations: 4 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.8899, allocations: 0 / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.8901, allocations: 154.2 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.8901, allocations: 4 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.8903, allocations: 27.47 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8903, allocations: 0 / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.8903, allocations: 4 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8903, allocations: 0 / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8903, allocations: 3.984 kB / 1.106 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.8905, allocations: 167.4 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.8906, allocations: 81.11 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.8906, allocations: 0 / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.8908, allocations: 28 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.8908, allocations: 4 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.8908, allocations: 11.92 kB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.8909, allocations: 75.28 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8909, allocations: 0 / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000241/0.8911, allocations: 16 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0005235/0.8917, allocations: 0.7161 MB / 1.107 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000104/0.8918, allocations: 28 kB / 1.107 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8918, allocations: 0 / 1.107 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.8918, allocations: 19.92 kB / 1.107 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.892, allocations: 8.156 kB / 1.107 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.8925, allocations: 127.3 kB / 1.107 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.8928, allocations: 0.6833 MB / 1.108 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.159e-05/0.8929, allocations: 15.98 kB / 1.108 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.8929, allocations: 11.44 kB / 1.108 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8929, allocations: 0 / 1.108 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.911, allocations: 1.06 MB / 1.109 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.9112, allocations: 158 kB / 1.109 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/2.365, allocations: 0 / 1.109 GB, free: 7.711 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_InverseXRegularized.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)