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.001096/0.001097, allocations: 104 kB / 16.36 MB, free: 6.305 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.001012/0.001012, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.608/1.608, 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.831/1.831, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001468/0.001469, allocations: 71.03 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.278, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.InverseXRegularized): time 0.002945/0.281, allocations: 1.445 MB / 0.7862 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2824, allocations: 0.8312 MB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.2824, allocations: 4 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.2825, allocations: 0 / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.604e-05/0.2826, allocations: 7.938 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004652/0.283, allocations: 127.5 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.535e-05/0.2831, allocations: 31.92 kB / 0.7872 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2832, allocations: 11.98 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.035e-05/0.2833, allocations: 15.94 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.2834, allocations: 23.91 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2834, allocations: 4 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000461/0.2839, allocations: 315.3 kB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.631e-05/0.2839, allocations: 4 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.2839, allocations: 15.92 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003068/0.2842, allocations: 191.6 kB / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2842, allocations: 0 / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2842, allocations: 0 / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2843, allocations: 4 kB / 0.7877 GB, free: 132 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.5184/0.8026, allocations: 374.5 kB / 0.7881 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.8027, allocations: 8.5 kB / 0.7881 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005145/0.8032, allocations: 68.45 kB / 0.7881 GB, free: 48.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.8034, allocations: 169.7 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.8034, allocations: 3.812 kB / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.8034, allocations: 384 / 0.7883 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002963/0.8037, allocations: 92.8 kB / 0.7884 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8037, allocations: 1.594 kB / 0.7884 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.8038, allocations: 3.938 kB / 0.7884 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.8038, allocations: 3.844 kB / 0.7884 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.8042, allocations: 87.64 kB / 0.7885 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004915/0.8047, allocations: 292.4 kB / 0.7888 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.805, allocations: 102.4 kB / 0.7889 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.8052, allocations: 51.67 kB / 0.7889 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.8052, allocations: 0 / 0.7889 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.8052, allocations: 35.84 kB / 0.789 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/0.8053, allocations: 0.9688 kB / 0.789 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0006908/0.8059, allocations: 167.2 kB / 0.7891 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.806, allocations: 57.5 kB / 0.7892 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.8061, allocations: 105 kB / 0.7893 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.8061, allocations: 26.3 kB / 0.7893 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.059e-05/0.8061, allocations: 83.8 kB / 0.7894 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.8061, allocations: 6.594 kB / 0.7894 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.8062, allocations: 13.38 kB / 0.7894 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.8062, allocations: 320.1 kB / 0.7897 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.8064, allocations: 45.81 kB / 0.7897 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.8066, allocations: 40.92 kB / 0.7898 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003559/0.807, allocations: 98.66 kB / 0.7899 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.807, allocations: 0 / 0.7899 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004086/0.8074, allocations: 128.5 kB / 0.79 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.8074, allocations: 7.312 kB / 0.79 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.8074, allocations: 0 / 0.79 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.8075, allocations: 4 kB / 0.79 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/0.8076, allocations: 23.09 kB / 0.79 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8076, allocations: 2.562 kB / 0.79 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.8078, allocations: 12.81 kB / 0.79 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.8078, allocations: 7.562 kB / 0.7901 GB, free: 47.72 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 5.552e-05/0.8078, allocations: 114.2 kB / 0.7902 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.8079, allocations: 4.562 kB / 0.7902 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.8079, allocations: 5.938 kB / 0.7902 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.8079, allocations: 4.031 kB / 0.7902 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.8079, allocations: 2.938 kB / 0.7902 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8079, allocations: 0.625 kB / 0.7902 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.8081, allocations: 172.7 kB / 0.7903 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8081, allocations: 1.453 kB / 0.7903 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.8082, allocations: 24.11 kB / 0.7904 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.8082, allocations: 3 kB / 0.7904 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.8082, allocations: 0 / 0.7904 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.8082, allocations: 0 / 0.7904 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.8083, allocations: 0 / 0.7904 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.8087, allocations: 221.6 kB / 0.7906 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.8087, allocations: 88.19 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.8087, allocations: 2.625 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.8089, allocations: 13.69 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.8089, allocations: 6.562 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.8089, allocations: 6.188 kB / 0.7907 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.971e-05/0.809, allocations: 83.56 kB / 0.7908 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.809, allocations: 0 / 0.7908 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002379/0.8092, allocations: 17.8 kB / 0.7908 GB, free: 47.1 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.0001674/0.8094, allocations: 108.4 kB / 0.7909 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004649/0.8099, allocations: 96.41 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8099, allocations: 2.469 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.8101, allocations: 51.59 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.8104, allocations: 12.36 kB / 0.791 GB, free: 47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005672/0.811, allocations: 187.5 kB / 0.7912 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.8111, allocations: 0.6753 MB / 0.7919 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.8112, allocations: 13.48 kB / 0.7919 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of SimCode: time 3.61e-07/0.8112, allocations: 2.625 kB / 0.7919 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.002415/0.8136, allocations: 0.882 MB / 0.7928 GB, free: 46.13 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)