Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized") translateModel(IBPSA.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009753/0.0009753, allocations: 89.91 kB / 16.67 MB, free: 6.598 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.001191/0.001191, allocations: 186.2 kB / 17.58 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.731/0.731, allocations: 115.5 MB / 408.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.000355, allocations: 11.98 kB / 496.5 MB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3554/0.3557, allocations: 77.51 MB / 0.5606 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.InverseXRegularized): time 0.001377/0.3571, allocations: 1.162 MB / 0.5617 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3582, allocations: 0.7932 MB / 0.5625 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.006e-05/0.3582, allocations: 1.656 kB / 0.5625 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.3583, allocations: 0.7969 kB / 0.5625 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.72e-05/0.3583, allocations: 3.938 kB / 0.5625 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.3587, allocations: 100.1 kB / 0.5626 GB, free: 35.09 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.966e-05/0.3587, allocations: 32.08 kB / 0.5626 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.29e-05/0.3588, allocations: 4.25 kB / 0.5626 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.3589, allocations: 18.48 kB / 0.5626 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.196e-05/0.3589, allocations: 16.33 kB / 0.5627 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.359, allocations: 4.625 kB / 0.5627 GB, free: 35.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.3594, allocations: 313.8 kB / 0.563 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.3594, allocations: 11.19 kB / 0.563 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.3595, allocations: 34.95 kB / 0.563 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.3597, allocations: 143.2 kB / 0.5631 GB, free: 34.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3597, allocations: 0 / 0.5631 GB, free: 34.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3597, allocations: 1.406 kB / 0.5631 GB, free: 34.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.3597, allocations: 0.875 kB / 0.5631 GB, free: 34.9 MB / 446.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.0004414/0.3602, allocations: 377.8 kB / 0.5635 GB, free: 34.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3602, allocations: 13.31 kB / 0.5635 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004617/0.3607, allocations: 81.11 kB / 0.5636 GB, free: 34.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.232e-05/0.3608, allocations: 163.8 kB / 0.5637 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.3608, allocations: 1.078 kB / 0.5637 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3608, allocations: 3.406 kB / 0.5638 GB, free: 34.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.3611, allocations: 99.66 kB / 0.5638 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3612, allocations: 1.406 kB / 0.5638 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3612, allocations: 1.094 kB / 0.5638 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3612, allocations: 0 / 0.5638 GB, free: 34.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.3616, allocations: 122.6 kB / 0.564 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.3621, allocations: 303.2 kB / 0.5643 GB, free: 33.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.3625, allocations: 113.3 kB / 0.5644 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.3628, allocations: 66.94 kB / 0.5644 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3628, allocations: 1.562 kB / 0.5644 GB, free: 33.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.3628, allocations: 36.44 kB / 0.5645 GB, free: 33.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.3628, allocations: 5.125 kB / 0.5645 GB, free: 33.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0008255/0.3637, allocations: 205.7 kB / 0.5647 GB, free: 33.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.3637, allocations: 55.22 kB / 0.5647 GB, free: 33.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.71e-05/0.3638, allocations: 101.8 kB / 0.5648 GB, free: 33.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.3638, allocations: 31.02 kB / 0.5648 GB, free: 33.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.3638, allocations: 82.53 kB / 0.5649 GB, free: 33.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.3639, allocations: 5.531 kB / 0.5649 GB, free: 33.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.3639, allocations: 9.719 kB / 0.5649 GB, free: 33.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.827e-05/0.364, allocations: 320.1 kB / 0.5652 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.3642, allocations: 56.17 kB / 0.5653 GB, free: 33.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.3645, allocations: 55.88 kB / 0.5653 GB, free: 33.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.3649, allocations: 123.4 kB / 0.5655 GB, free: 33.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3649, allocations: 0 / 0.5655 GB, free: 33.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005007/0.3654, allocations: 148.2 kB / 0.5656 GB, free: 33.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3654, allocations: 5.719 kB / 0.5656 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3654, allocations: 0 / 0.5656 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.3655, allocations: 1.75 kB / 0.5656 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.3656, allocations: 28.14 kB / 0.5656 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3657, allocations: 1.625 kB / 0.5656 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.3658, allocations: 23.78 kB / 0.5657 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.3658, allocations: 2.797 kB / 0.5657 GB, free: 33.14 MB / 446.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 5.661e-05/0.3659, allocations: 112.6 kB / 0.5658 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.3659, allocations: 2.922 kB / 0.5658 GB, free: 33.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.3659, allocations: 8.797 kB / 0.5658 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3659, allocations: 5.734 kB / 0.5658 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3659, allocations: 0 / 0.5658 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.366, allocations: 1.375 kB / 0.5658 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3661, allocations: 184.4 kB / 0.566 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3661, allocations: 1.062 kB / 0.566 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.3663, allocations: 28.48 kB / 0.566 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.3663, allocations: 0.6094 kB / 0.566 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3663, allocations: 2.703 kB / 0.566 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3663, allocations: 0 / 0.566 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3663, allocations: 5.219 kB / 0.566 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.3668, allocations: 244.7 kB / 0.5662 GB, free: 32.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.959e-05/0.3668, allocations: 79.16 kB / 0.5663 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.3668, allocations: 2.484 kB / 0.5663 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.367, allocations: 25.11 kB / 0.5663 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.367, allocations: 4.094 kB / 0.5663 GB, free: 32.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.3671, allocations: 1.797 kB / 0.5663 GB, free: 32.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.615e-05/0.3671, allocations: 88.31 kB / 0.5664 GB, free: 32.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3671, allocations: 0 / 0.5664 GB, free: 32.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002277/0.3673, allocations: 11.61 kB / 0.5664 GB, free: 32.48 MB / 446.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.0001337/0.3675, allocations: 117.6 kB / 0.5666 GB, free: 32.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004822/0.368, allocations: 122.6 kB / 0.5667 GB, free: 32.37 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.368, allocations: 0 / 0.5667 GB, free: 32.37 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002256/0.3682, allocations: 61.19 kB / 0.5667 GB, free: 32.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.3685, allocations: 8.797 kB / 0.5667 GB, free: 32.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.369, allocations: 208.9 kB / 0.5669 GB, free: 32.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.3691, allocations: 0.6759 MB / 0.5676 GB, free: 31.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.3692, allocations: 11.95 kB / 0.5676 GB, free: 31.5 MB / 446.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3692, allocations: 0 / 0.5676 GB, free: 31.5 MB / 446.1 MB Notification: Performance of Templates: time 0.002401/0.3716, allocations: 0.8828 MB / 0.5685 GB, free: 31.44 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)