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.001434/0.001434, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.01083/0.01083, allocations: 170 kB / 16.26 MB, free: 6.613 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.759/1.759, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.6336/0.6336, allocations: 95.62 MB / 366.4 MB, free: 10.24 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.000593/0.0005933, allocations: 16 kB / 447.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3838, allocations: 70.33 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.001519/0.3854, allocations: 1.13 MB / 0.5068 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003882/0.3859, allocations: 140.2 kB / 0.5069 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.3859, allocations: 0 / 0.5069 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.271e-05/0.3859, allocations: 3.938 kB / 0.5069 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.386, allocations: 7.984 kB / 0.5069 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.3862, allocations: 23.92 kB / 0.5069 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.3863, allocations: 23.92 kB / 0.507 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.3864, allocations: 4 kB / 0.507 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.3865, allocations: 11.92 kB / 0.507 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.188e-05/0.3865, allocations: 11.94 kB / 0.507 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3866, allocations: 3.938 kB / 0.507 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.842e-05/0.3866, allocations: 23.97 kB / 0.507 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.3867, allocations: 11.98 kB / 0.507 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.3867, allocations: 29.64 kB / 0.5071 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3868, allocations: 31.89 kB / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3868, allocations: 0 / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.878e-06/0.3869, allocations: 0 / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3869, allocations: 0 / 0.5071 GB, free: 14.85 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.0004705/0.3873, allocations: 345.4 kB / 0.5074 GB, free: 14.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3874, allocations: 19.98 kB / 0.5074 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.565e-05/0.3875, allocations: 0.9375 kB / 0.5074 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.3876, allocations: 168.3 kB / 0.5076 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.3876, allocations: 4.375 kB / 0.5076 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.3876, allocations: 3.938 kB / 0.5076 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3878, allocations: 53.67 kB / 0.5077 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3878, allocations: 4 kB / 0.5077 GB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3879, allocations: 4 kB / 0.5077 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.3879, allocations: 0 / 0.5077 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3881, allocations: 47.91 kB / 0.5077 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.3885, allocations: 252.9 kB / 0.5079 GB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.3886, allocations: 42.56 kB / 0.508 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.958e-05/0.3887, allocations: 28.89 kB / 0.508 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/0.3892, allocations: 421.5 kB / 0.5084 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.3892, allocations: 34.56 kB / 0.5084 GB, free: 13.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.3892, allocations: 3.938 kB / 0.5085 GB, free: 13.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003957/0.3896, allocations: 97.64 kB / 0.5085 GB, free: 13.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.3897, allocations: 55.41 kB / 0.5086 GB, free: 13.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.7e-05/0.3897, allocations: 101.8 kB / 0.5087 GB, free: 12.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3897, allocations: 29.64 kB / 0.5087 GB, free: 12.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.918e-05/0.3898, allocations: 80.14 kB / 0.5088 GB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.3898, allocations: 8.031 kB / 0.5088 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.3898, allocations: 17.72 kB / 0.5088 GB, free: 12.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.815e-05/0.3899, allocations: 318.8 kB / 0.5091 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/0.39, allocations: 19.98 kB / 0.5091 GB, free: 12.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.3901, allocations: 19.98 kB / 0.5092 GB, free: 12.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3903, allocations: 60.81 kB / 0.5092 GB, free: 12.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3903, allocations: 0 / 0.5092 GB, free: 12.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.3905, allocations: 77.58 kB / 0.5093 GB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.3905, allocations: 4 kB / 0.5093 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3905, allocations: 0 / 0.5093 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3905, allocations: 3.984 kB / 0.5093 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.853e-05/0.3906, allocations: 12 kB / 0.5093 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3907, allocations: 3.938 kB / 0.5093 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.3907, allocations: 16.02 kB / 0.5093 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.3907, allocations: 0 / 0.5093 GB, free: 12.23 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 6.334e-05/0.3908, allocations: 113.8 kB / 0.5094 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.3908, allocations: 0 / 0.5094 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002327/0.3911, allocations: 96.66 kB / 0.5095 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3911, allocations: 0 / 0.5095 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.3911, allocations: 7.984 kB / 0.5095 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3911, allocations: 0 / 0.5095 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.3912, allocations: 157.6 kB / 0.5097 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3912, allocations: 0 / 0.5097 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.376e-05/0.3913, allocations: 11.98 kB / 0.5097 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3913, allocations: 0 / 0.5097 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.3913, allocations: 4.031 kB / 0.5097 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3913, allocations: 0 / 0.5097 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3913, allocations: 4 kB / 0.5097 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.3916, allocations: 179.4 kB / 0.5099 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.977e-05/0.3916, allocations: 84.95 kB / 0.51 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.3916, allocations: 4 kB / 0.51 GB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.3917, allocations: 8.234 kB / 0.51 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.3917, allocations: 0 / 0.51 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.3917, allocations: 8 kB / 0.51 GB, free: 11.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.659e-05/0.3918, allocations: 91.2 kB / 0.5101 GB, free: 11.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3918, allocations: 0 / 0.5101 GB, free: 11.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002224/0.392, allocations: 15.97 kB / 0.5101 GB, free: 11.35 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.0001752/0.3922, allocations: 99.25 kB / 0.5102 GB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3924, allocations: 47.95 kB / 0.5102 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3924, allocations: 4.062 kB / 0.5102 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.694e-05/0.3925, allocations: 27.92 kB / 0.5103 GB, free: 11.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3928, allocations: 4 kB / 0.5103 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.3931, allocations: 112.7 kB / 0.5104 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.3933, allocations: 0.681 MB / 0.511 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.563e-05/0.3933, allocations: 0 / 0.511 GB, free: 10.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.3933, allocations: 11.44 kB / 0.511 GB, free: 10.3 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3933, allocations: 0 / 0.511 GB, free: 10.3 MB / 382.1 MB Notification: Performance of Templates: time 0.002627/0.3959, allocations: 0.5078 MB / 0.5115 GB, free: 9.801 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.InverseXRegularized.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: