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.773/1.773, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001669/0.001668, allocations: 187.6 kB / 377.1 MB, free: 1.523 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.62/1.62, allocations: 205.4 MB / 0.6367 GB, free: 8.523 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.000798/0.0007979, allocations: 88.83 kB / 0.751 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2354, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6789/0.9143, allocations: 140.2 MB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.9146, allocations: 79.91 kB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.9249, allocations: 3.792 MB / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9249, allocations: 0 / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.9249, allocations: 4.938 kB / 1.129 GB, free: 31.93 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003975/0.9253, allocations: 386.5 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9254, allocations: 12.02 kB / 1.129 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.9257, allocations: 72.05 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.29e-05/0.9258, allocations: 167 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.9259, allocations: 0 / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.9259, allocations: 0 / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.9262, allocations: 102.5 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.9262, allocations: 4 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.9262, allocations: 1.453 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.9262, allocations: 0.8438 kB / 1.13 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.9266, allocations: 115.5 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.927, allocations: 294.4 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003258/0.9273, allocations: 121.8 kB / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.9274, allocations: 0 / 1.13 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.9274, allocations: 31.38 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.9274, allocations: 0 / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0006544/0.9281, allocations: 207.5 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.932e-05/0.9281, allocations: 59.34 kB / 1.131 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.9282, allocations: 97.56 kB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.9282, allocations: 25.7 kB / 1.131 GB, free: 30.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.9282, allocations: 80.14 kB / 1.131 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.9282, allocations: 11.42 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-06/0.9282, allocations: 4 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.9283, allocations: 314.8 kB / 1.131 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.9285, allocations: 58.81 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.9287, allocations: 58.12 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.9288, allocations: 53.89 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.9289, allocations: 0 / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004048/0.9293, allocations: 150 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.9293, allocations: 4 kB / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.9293, allocations: 0 / 1.131 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.9293, allocations: 4 kB / 1.131 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.9295, allocations: 26.78 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.9295, allocations: 3.938 kB / 1.131 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.9296, allocations: 22.89 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.9296, allocations: 8.781 kB / 1.131 GB, free: 29.54 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 (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 5.893e-05/0.9297, allocations: 117.8 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.9297, allocations: 5.594 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.9298, allocations: 6.641 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9298, allocations: 0.5 kB / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.9298, allocations: 0 / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.9298, allocations: 0 / 1.132 GB, free: 29.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.9299, allocations: 172 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.9299, allocations: 0.5 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.9301, allocations: 31.83 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9301, allocations: 0 / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.9301, allocations: 0.5625 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.9301, allocations: 0 / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9301, allocations: 4 kB / 1.132 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004121/0.9305, allocations: 249.8 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.9306, allocations: 81.05 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.9306, allocations: 0.5 kB / 1.132 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.9307, allocations: 26.83 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.9308, allocations: 4 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.9308, allocations: 1.719 kB / 1.132 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.383e-05/0.9308, allocations: 87.81 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9308, allocations: 0 / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002212/0.931, allocations: 19.94 kB / 1.132 GB, free: 28.72 MB / 0.7292 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 () * Number of clocked 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.0001425/0.9312, allocations: 110.8 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000416/0.9316, allocations: 116.7 kB / 1.132 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9316, allocations: 4.062 kB / 1.132 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001885/0.9318, allocations: 58.16 kB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.932, allocations: 13.42 kB / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005071/0.9326, allocations: 181.3 kB / 1.133 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.9327, allocations: 0.6803 MB / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.506e-05/0.9328, allocations: 12.94 kB / 1.133 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.9328, allocations: 7.438 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.9328, allocations: 0 / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of Templates: time 0.002567/0.9354, allocations: 0.7071 MB / 1.134 GB, free: 27.17 MB / 0.7292 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)