Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.554/1.554, allocations: 289.9 MB / 297.4 MB, free: 6.383 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: 180.8 kB / 366.7 MB, free: 1.637 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.522/1.522, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008581/0.0008582, allocations: 92.44 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.52e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.5487, allocations: 116.3 MB / 0.9732 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.7114, allocations: 139.4 MB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.7116, allocations: 71.97 kB / 1.109 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01147/0.7231, allocations: 3.766 MB / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7231, allocations: 0 / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7231, allocations: 0 / 1.113 GB, free: 6.98 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.0004208/0.7236, allocations: 378.3 kB / 1.114 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.7236, allocations: 8.031 kB / 1.114 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.724, allocations: 71.83 kB / 1.114 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.7241, allocations: 167 kB / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.7242, allocations: 0 / 1.114 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.7242, allocations: 3.938 kB / 1.114 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.135e-05/0.7243, allocations: 23.94 kB / 1.114 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.7244, allocations: 53.42 kB / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.7244, allocations: 0 / 1.114 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.7244, allocations: 4 kB / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.7244, allocations: 0 / 1.114 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004684/0.7249, allocations: 265.4 kB / 1.114 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.725, allocations: 42.58 kB / 1.114 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.541e-05/0.7251, allocations: 16.92 kB / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.7251, allocations: 0 / 1.114 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.7251, allocations: 38.5 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7251, allocations: 0 / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0002801/0.7254, allocations: 69.66 kB / 1.114 GB, free: 5.711 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.7254, allocations: 51.41 kB / 1.114 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.746e-05/0.7255, allocations: 99.03 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.7255, allocations: 25.7 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.7256, allocations: 88.14 kB / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.931e-05/0.7256, allocations: 7.844 kB / 1.115 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.7256, allocations: 0 / 1.115 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.7258, allocations: 318.8 kB / 1.115 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.776e-05/0.7258, allocations: 12 kB / 1.115 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.7258, allocations: 12 kB / 1.115 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.726, allocations: 32.03 kB / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.726, allocations: 0 / 1.115 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.7262, allocations: 73.52 kB / 1.115 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.7262, allocations: 4.781 kB / 1.115 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7262, allocations: 7.984 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.7262, allocations: 0 / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.7264, allocations: 28 kB / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.7264, allocations: 7.359 kB / 1.115 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.7265, allocations: 23.97 kB / 1.115 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.7266, allocations: 4 kB / 1.115 GB, free: 4.895 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 6.88e-05/0.7266, allocations: 104.9 kB / 1.115 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.7267, allocations: 3.938 kB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.7267, allocations: 7.75 kB / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.7267, allocations: 0 / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7267, allocations: 0 / 1.115 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.7267, allocations: 3.984 kB / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/0.7269, allocations: 150.2 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7269, allocations: 0 / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.727, allocations: 34.22 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.727, allocations: 0 / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.7271, allocations: 1.969 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.7271, allocations: 0 / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7271, allocations: 0 / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.7273, allocations: 175.5 kB / 1.115 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.7274, allocations: 84.97 kB / 1.116 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.7274, allocations: 0 / 1.116 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.7275, allocations: 28 kB / 1.116 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.7276, allocations: 4 kB / 1.116 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.7276, allocations: 0 / 1.116 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.7276, allocations: 87.27 kB / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7276, allocations: 0 / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002229/0.7279, allocations: 16 kB / 1.116 GB, free: 4.129 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.0001351/0.728, allocations: 107.2 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.451e-05/0.7281, allocations: 27.98 kB / 1.116 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7281, allocations: 4.062 kB / 1.116 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.7282, allocations: 19.94 kB / 1.116 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.7283, allocations: 4 kB / 1.116 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.7287, allocations: 94.58 kB / 1.116 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.7289, allocations: 0.6843 MB / 1.117 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.792e-05/0.729, allocations: 8 kB / 1.117 GB, free: 3.133 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.7291, allocations: 15.42 kB / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.7291, allocations: 0 / 1.117 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of Templates: time 0.002331/0.7314, allocations: 0.669 MB / 1.117 GB, free: 2.48 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)