Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.869/2.869, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001497/0.001497, allocations: 181.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.205/2.205, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 92.92 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005158/0.0005158, allocations: 13.53 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001731/0.235, allocations: 1.148 MB / 0.9793 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001457/0.2365, allocations: 0.7785 MB / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.685e-05/0.2366, allocations: 0 / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.847e-05/0.2366, allocations: 0 / 0.9801 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.2367, allocations: 7.938 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005328/0.2373, allocations: 95.73 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.961e-05/0.2374, allocations: 27.91 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.556e-05/0.2374, allocations: 7.984 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.563e-05/0.2375, allocations: 4 kB / 0.9802 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.2376, allocations: 23.91 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.2376, allocations: 4 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005993/0.2382, allocations: 311.4 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.2383, allocations: 3.984 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.2383, allocations: 37.64 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003306/0.2386, allocations: 144.1 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2387, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2387, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.2387, allocations: 0 / 0.9807 GB, free: 25.79 MB / 0.6198 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.0006288/0.2393, allocations: 371.2 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2394, allocations: 16.02 kB / 0.9811 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007417/0.2401, allocations: 83.91 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.2402, allocations: 171 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/0.2403, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.2403, allocations: 0 / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004987/0.2408, allocations: 101.6 kB / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.2409, allocations: 0 / 0.9814 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.2409, allocations: 3.984 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2409, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007334/0.2416, allocations: 123.8 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.2424, allocations: 300.8 kB / 0.9818 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006409/0.243, allocations: 114.5 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.2431, allocations: 4 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.2431, allocations: 34.56 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.226e-06/0.2431, allocations: 3.984 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.001237/0.2444, allocations: 201.5 kB / 0.9822 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.2444, allocations: 59.48 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.2445, allocations: 101.9 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2446, allocations: 25.7 kB / 0.9823 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.2446, allocations: 88.12 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.2446, allocations: 7.906 kB / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-06/0.2447, allocations: 0 / 0.9824 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.338e-05/0.2447, allocations: 310.8 kB / 0.9827 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.2451, allocations: 59.95 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.2455, allocations: 55.95 kB / 0.9828 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.2458, allocations: 56.02 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.2459, allocations: 0 / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0007983/0.2467, allocations: 149.5 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.2467, allocations: 8 kB / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.2467, allocations: 0 / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.2468, allocations: 0 / 0.983 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002831/0.2471, allocations: 32 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.2471, allocations: 3.953 kB / 0.9831 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.2473, allocations: 23.97 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2473, allocations: 3.938 kB / 0.9831 GB, free: 23.11 MB / 0.6198 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 8.804e-05/0.2474, allocations: 115.7 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.2475, allocations: 4 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.2475, allocations: 3.125 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2475, allocations: 3.938 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.2476, allocations: 0 / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2476, allocations: 3.953 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.2478, allocations: 173.5 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2478, allocations: 0 / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.248, allocations: 31.97 kB / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.2481, allocations: 0 / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.2481, allocations: 0 / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2481, allocations: 8.188 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2481, allocations: 0 / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008668/0.249, allocations: 247.4 kB / 0.9837 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.249, allocations: 77.11 kB / 0.9837 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.2491, allocations: 4 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.2493, allocations: 32 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.2494, allocations: 7.984 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.2494, allocations: 0 / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.384e-05/0.2495, allocations: 79.28 kB / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2495, allocations: 0 / 0.9839 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003495/0.2499, allocations: 16 kB / 0.9839 GB, free: 22.23 MB / 0.6198 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.0001969/0.2501, allocations: 119.2 kB / 0.984 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000805/0.2509, allocations: 115.8 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2509, allocations: 0 / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.2513, allocations: 68 kB / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.2516, allocations: 0 / 0.9842 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008429/0.2524, allocations: 188.6 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.2526, allocations: 0.677 MB / 0.985 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.2528, allocations: 8 kB / 0.985 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.55e-05/0.2528, allocations: 15.44 kB / 0.985 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of SimCode: time 1.242e-06/0.2528, allocations: 0 / 0.985 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of Templates: time 0.003695/0.2565, allocations: 0.707 MB / 0.9857 GB, free: 20.29 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)