Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized") translateModel(Buildings.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001693/0.001693, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002345/0.002345, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.572/1.572, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6397/0.6397, allocations: 95.48 MB / 365.2 MB, free: 9.879 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 75.89 kB / 445.3 MB, free: 9.609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3342, allocations: 69.08 MB / 0.5024 GB, free: 17.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002352/0.3366, allocations: 1.4 MB / 0.5037 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.3369, allocations: 136.2 kB / 0.5039 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.884e-05/0.337, allocations: 8 kB / 0.5039 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.776e-05/0.337, allocations: 7.922 kB / 0.5039 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.681e-05/0.3371, allocations: 3.938 kB / 0.5039 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.3374, allocations: 27.97 kB / 0.5039 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.3374, allocations: 27.86 kB / 0.5039 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.938e-05/0.3375, allocations: 4 kB / 0.5039 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.3376, allocations: 7.984 kB / 0.5039 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.111e-05/0.3376, allocations: 23.91 kB / 0.504 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.3377, allocations: 4 kB / 0.504 GB, free: 15.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.3377, allocations: 19.98 kB / 0.504 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.3378, allocations: 4 kB / 0.504 GB, free: 15.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.3378, allocations: 11.92 kB / 0.504 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3379, allocations: 31.91 kB / 0.504 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3379, allocations: 0 / 0.504 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3379, allocations: 0 / 0.504 GB, free: 15.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.3379, allocations: 0 / 0.504 GB, free: 15.62 MB / 382.1 MB 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.0003934/0.3383, allocations: 353.4 kB / 0.5044 GB, free: 15.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.3384, allocations: 11.98 kB / 0.5044 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.143e-05/0.3384, allocations: 8.828 kB / 0.5044 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.539e-05/0.3385, allocations: 176.2 kB / 0.5046 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3385, allocations: 384 / 0.5046 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3386, allocations: 3.938 kB / 0.5046 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.3387, allocations: 49.67 kB / 0.5046 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3387, allocations: 0 / 0.5046 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.3388, allocations: 0 / 0.5046 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3388, allocations: 0 / 0.5046 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.3389, allocations: 35.97 kB / 0.5046 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/0.3392, allocations: 252.8 kB / 0.5049 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.3393, allocations: 38.56 kB / 0.5049 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.976e-05/0.3394, allocations: 28.89 kB / 0.505 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003688/0.3398, allocations: 409.5 kB / 0.5053 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.3398, allocations: 34.55 kB / 0.5054 GB, free: 14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3398, allocations: 0 / 0.5054 GB, free: 14 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003386/0.3402, allocations: 85.69 kB / 0.5055 GB, free: 13.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.3402, allocations: 55.41 kB / 0.5055 GB, free: 13.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/0.3403, allocations: 101.8 kB / 0.5056 GB, free: 13.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.3403, allocations: 29.64 kB / 0.5056 GB, free: 13.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.825e-05/0.3403, allocations: 92.05 kB / 0.5057 GB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.3403, allocations: 0 / 0.5057 GB, free: 13.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.46e-05/0.3404, allocations: 13.7 kB / 0.5057 GB, free: 13.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.3404, allocations: 322.8 kB / 0.506 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.3405, allocations: 16.02 kB / 0.5061 GB, free: 13.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.3406, allocations: 15.98 kB / 0.5061 GB, free: 13.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.3407, allocations: 40.81 kB / 0.5061 GB, free: 13.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3407, allocations: 0 / 0.5061 GB, free: 13.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001756/0.3409, allocations: 77.56 kB / 0.5062 GB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.3409, allocations: 4 kB / 0.5062 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3409, allocations: 0 / 0.5062 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3409, allocations: 4 kB / 0.5062 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.724e-05/0.341, allocations: 4 kB / 0.5062 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.341, allocations: 0 / 0.5062 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.121e-05/0.3411, allocations: 7.984 kB / 0.5062 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.3411, allocations: 0 / 0.5062 GB, free: 13.09 MB / 382.1 MB 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.689e-05/0.3411, allocations: 121.8 kB / 0.5063 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.3412, allocations: 0 / 0.5063 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001984/0.3414, allocations: 80.97 kB / 0.5064 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3414, allocations: 3.938 kB / 0.5064 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3414, allocations: 4 kB / 0.5064 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3414, allocations: 0 / 0.5064 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.3415, allocations: 157.6 kB / 0.5066 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3415, allocations: 4.031 kB / 0.5066 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/0.3416, allocations: 15.92 kB / 0.5066 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.3416, allocations: 0 / 0.5066 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3416, allocations: 3.984 kB / 0.5066 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3416, allocations: 0 / 0.5066 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3416, allocations: 0 / 0.5066 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.3418, allocations: 171.4 kB / 0.5067 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.397e-05/0.3419, allocations: 85.05 kB / 0.5068 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3419, allocations: 0 / 0.5068 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.3419, allocations: 7.984 kB / 0.5068 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.342, allocations: 0 / 0.5068 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.342, allocations: 0 / 0.5068 GB, free: 12.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.688e-05/0.342, allocations: 91.2 kB / 0.5069 GB, free: 12.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.342, allocations: 3.938 kB / 0.5069 GB, free: 12.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000213/0.3423, allocations: 11.94 kB / 0.5069 GB, free: 12.23 MB / 382.1 MB 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.0001284/0.3424, allocations: 103.3 kB / 0.507 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002037/0.3426, allocations: 35.95 kB / 0.5071 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3426, allocations: 4 kB / 0.5071 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.3427, allocations: 15.98 kB / 0.5071 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.343, allocations: 4 kB / 0.5071 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.3432, allocations: 117.5 kB / 0.5072 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.3434, allocations: 0.6768 MB / 0.5079 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.3434, allocations: 0 / 0.5079 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.754e-05/0.3434, allocations: 11.44 kB / 0.5079 GB, free: 11.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3434, allocations: 0 / 0.5079 GB, free: 11.21 MB / 382.1 MB Notification: Performance of Templates: time 0.002874/0.3463, allocations: 0.5908 MB / 0.5085 GB, free: 10.62 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)