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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 104.1 kB / 16.35 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 192.4 kB / 17.28 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.854/1.854, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 72.31 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2239, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002655/0.2266, allocations: 1.43 MB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.2279, allocations: 0.8351 MB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.2279, allocations: 4 kB / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.565e-05/0.228, allocations: 0 / 0.787 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.891e-05/0.228, allocations: 3.938 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.2285, allocations: 127.5 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.322e-05/0.2286, allocations: 31.92 kB / 0.7871 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.2287, allocations: 15.97 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.311e-05/0.2287, allocations: 7.938 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.648e-05/0.2288, allocations: 23.97 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.2288, allocations: 4 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.2293, allocations: 311.4 kB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.2293, allocations: 19.86 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.2293, allocations: 11.92 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.2296, allocations: 191.6 kB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2296, allocations: 4 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2297, allocations: 4 kB / 0.7877 GB, free: 124 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.2297, allocations: 0 / 0.7877 GB, free: 124 kB / 0.6544 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.3957/0.6254, allocations: 368.6 kB / 0.7881 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6254, allocations: 9.406 kB / 0.7881 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000504/0.6259, allocations: 71.8 kB / 0.7881 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.327e-05/0.626, allocations: 170.5 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.626, allocations: 1.75 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.6261, allocations: 384 / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.6263, allocations: 95.14 kB / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.6264, allocations: 0 / 0.7884 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.6264, allocations: 3.938 kB / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.6264, allocations: 2.656 kB / 0.7884 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.6268, allocations: 90.86 kB / 0.7885 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.6272, allocations: 289 kB / 0.7888 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.6275, allocations: 103.9 kB / 0.7889 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.6277, allocations: 53.61 kB / 0.7889 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.6278, allocations: 6.531 kB / 0.7889 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.6278, allocations: 30.56 kB / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.6278, allocations: 0 / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0006584/0.6285, allocations: 166.8 kB / 0.7891 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.6285, allocations: 51.41 kB / 0.7892 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.6285, allocations: 102.9 kB / 0.7893 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.6286, allocations: 25.7 kB / 0.7893 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.6286, allocations: 88.08 kB / 0.7894 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.6286, allocations: 7.281 kB / 0.7894 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.6287, allocations: 16.67 kB / 0.7894 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.6287, allocations: 319 kB / 0.7897 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.6289, allocations: 45.41 kB / 0.7897 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.6291, allocations: 47.34 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.6294, allocations: 90.55 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6294, allocations: 0 / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000397/0.6299, allocations: 134 kB / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6299, allocations: 5.25 kB / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6299, allocations: 0 / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.6299, allocations: 0 / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.6301, allocations: 19.73 kB / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6301, allocations: 1.312 kB / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.6302, allocations: 22.09 kB / 0.79 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.605e-06/0.6302, allocations: 3.281 kB / 0.79 GB, free: 47.58 MB / 0.6544 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 4.844e-05/0.6303, allocations: 115.4 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/0.6303, allocations: 4.969 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.6303, allocations: 3.125 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.6303, allocations: 2.625 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6304, allocations: 0 / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6304, allocations: 1.25 kB / 0.7902 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/0.6305, allocations: 176.6 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6305, allocations: 3.281 kB / 0.7903 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001326/0.6306, allocations: 18.89 kB / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6307, allocations: 0 / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.6307, allocations: 2.625 kB / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6307, allocations: 0 / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6307, allocations: 1.312 kB / 0.7904 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.6311, allocations: 224.2 kB / 0.7906 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.69e-05/0.6311, allocations: 85.2 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.6312, allocations: 0 / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.6313, allocations: 21.08 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.6314, allocations: 8.859 kB / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.6314, allocations: 0 / 0.7907 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.924e-05/0.6314, allocations: 82.45 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6314, allocations: 2.188 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002571/0.6317, allocations: 17.8 kB / 0.7908 GB, free: 46.96 MB / 0.6544 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.0001305/0.6318, allocations: 106.3 kB / 0.7909 GB, free: 46.88 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.6323, allocations: 97.86 kB / 0.791 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6323, allocations: 0 / 0.791 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.6325, allocations: 53.67 kB / 0.791 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.6329, allocations: 8.562 kB / 0.791 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005074/0.6334, allocations: 152.7 kB / 0.7912 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.6335, allocations: 0.6812 MB / 0.7918 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.03e-05/0.6336, allocations: 10.42 kB / 0.7919 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.6336, allocations: 7.438 kB / 0.7919 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.6336, allocations: 2.656 kB / 0.7919 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.002928/0.6366, allocations: 0.8081 MB / 0.7927 GB, free: 46.03 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)