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.572/1.572, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001383/0.001383, allocations: 182.4 kB / 376.9 MB, free: 1.801 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.268/1.268, allocations: 205 MB / 0.6354 GB, free: 9.766 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.0009639/0.0009639, allocations: 104.6 kB / 0.748 GB, free: 61.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 63.84 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2241, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002713/0.2268, allocations: 1.495 MB / 0.9837 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2281, allocations: 0.8585 MB / 0.9845 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.875e-05/0.2281, allocations: 0 / 0.9845 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.2282, allocations: 0 / 0.9845 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.2283, allocations: 11.92 kB / 0.9845 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004071/0.2287, allocations: 103.7 kB / 0.9846 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.2287, allocations: 31.86 kB / 0.9847 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.882e-05/0.2288, allocations: 4 kB / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.308e-05/0.2289, allocations: 19.97 kB / 0.9847 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.2289, allocations: 15.92 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.229, allocations: 4 kB / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.2294, allocations: 315.4 kB / 0.985 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.2294, allocations: 11.97 kB / 0.985 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.2294, allocations: 7.938 kB / 0.985 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.2297, allocations: 191.9 kB / 0.9852 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2298, allocations: 0 / 0.9852 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2298, allocations: 0 / 0.9852 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.2298, allocations: 0 / 0.9852 GB, free: 7.281 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.0005002/0.2303, allocations: 375.4 kB / 0.9856 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.2303, allocations: 12.03 kB / 0.9856 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.2308, allocations: 64.84 kB / 0.9856 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2309, allocations: 180.2 kB / 0.9858 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.2309, allocations: 384 / 0.9858 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2309, allocations: 384 / 0.9858 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002949/0.2312, allocations: 93.88 kB / 0.9859 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.2313, allocations: 0 / 0.9859 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.2313, allocations: 0 / 0.9859 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2313, allocations: 4 kB / 0.9859 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.2317, allocations: 91.83 kB / 0.986 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004962/0.2322, allocations: 296.9 kB / 0.9863 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.2326, allocations: 94.5 kB / 0.9864 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.2328, allocations: 52.86 kB / 0.9864 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2328, allocations: 3.938 kB / 0.9864 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.2328, allocations: 38.56 kB / 0.9864 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.2328, allocations: 3.938 kB / 0.9865 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0006925/0.2335, allocations: 161.6 kB / 0.9866 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.2336, allocations: 55.39 kB / 0.9867 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.286e-05/0.2336, allocations: 101.9 kB / 0.9868 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.2337, allocations: 29.83 kB / 0.9868 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.2337, allocations: 88.05 kB / 0.9869 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.2337, allocations: 0 / 0.9869 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.2338, allocations: 17.7 kB / 0.9869 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.831e-05/0.2339, allocations: 310.8 kB / 0.9872 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.2341, allocations: 51.95 kB / 0.9872 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.2343, allocations: 47.88 kB / 0.9873 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.2347, allocations: 92.77 kB / 0.9874 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2347, allocations: 0 / 0.9874 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004187/0.2351, allocations: 121.5 kB / 0.9875 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2351, allocations: 8.031 kB / 0.9875 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2351, allocations: 0 / 0.9875 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.2351, allocations: 4 kB / 0.9875 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.2353, allocations: 19.97 kB / 0.9875 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2353, allocations: 0 / 0.9875 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2354, allocations: 27.97 kB / 0.9875 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.2354, allocations: 0 / 0.9875 GB, free: 4.66 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.017e-05/0.2355, allocations: 117.7 kB / 0.9877 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.2356, allocations: 4 kB / 0.9877 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.69e-05/0.2356, allocations: 7.125 kB / 0.9877 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2356, allocations: 3.984 kB / 0.9877 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2356, allocations: 0 / 0.9877 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2356, allocations: 0 / 0.9877 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.2358, allocations: 177.5 kB / 0.9878 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2358, allocations: 4 kB / 0.9878 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.2359, allocations: 27.97 kB / 0.9879 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2359, allocations: 0 / 0.9879 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.2359, allocations: 0 / 0.9879 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2359, allocations: 0 / 0.9879 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.2359, allocations: 3.984 kB / 0.9879 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008652/0.2368, allocations: 0.8137 MB / 0.9887 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.174e-05/0.2369, allocations: 77.11 kB / 0.9887 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2369, allocations: 3.984 kB / 0.9887 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.237, allocations: 20.23 kB / 0.9888 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.2371, allocations: 7.922 kB / 0.9888 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.2371, allocations: 4 kB / 0.9888 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.2371, allocations: 83.28 kB / 0.9889 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2371, allocations: 0 / 0.9889 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003127/0.2374, allocations: 19.94 kB / 0.9889 GB, free: 3.164 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001661/0.2376, allocations: 107.2 kB / 0.989 GB, free: 3.047 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.2381, allocations: 95.84 kB / 0.9891 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2381, allocations: 4.062 kB / 0.9891 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.2383, allocations: 47.94 kB / 0.9891 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.2386, allocations: 6.531 kB / 0.9891 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/0.2393, allocations: 265.9 kB / 0.9894 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.2395, allocations: 0.6809 MB / 0.99 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.63e-05/0.2396, allocations: 8 kB / 0.99 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.2396, allocations: 11.44 kB / 0.9901 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.2396, allocations: 0 / 0.9901 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of Templates: time 0.002674/0.2423, allocations: 0.7549 MB / 0.9908 GB, free: 1.125 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)