Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.765/0.765, allocations: 128.7 MB / 143.7 MB, free: 2.305 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001063/0.001062, allocations: 176.4 kB / 173.8 MB, free: 6.117 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 409 MB, free: 10.47 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 96.42 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003164, allocations: 12.22 kB / 0.5604 GB, free: 97.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 76.75 MB / 0.6353 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.2754, allocations: 104.3 MB / 0.7372 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.2757, allocations: 87.94 kB / 0.7373 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01691/0.2926, allocations: 5.815 MB / 0.7429 GB, free: 156 kB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2927, allocations: 0 / 0.7429 GB, free: 156 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.2927, allocations: 4 kB / 0.7429 GB, free: 152 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.332/0.6247, allocations: 399.9 kB / 0.7433 GB, free: 109 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.6248, allocations: 9 kB / 0.7433 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004754/0.6253, allocations: 69.66 kB / 0.7434 GB, free: 109 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.826e-05/0.6254, allocations: 165.5 kB / 0.7436 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.6254, allocations: 10.12 kB / 0.7436 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.6255, allocations: 10.34 kB / 0.7436 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.6258, allocations: 118.4 kB / 0.7437 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.6259, allocations: 0 / 0.7437 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.6259, allocations: 2.344 kB / 0.7437 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.6259, allocations: 2.25 kB / 0.7437 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004713/0.6264, allocations: 126.7 kB / 0.7438 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.627, allocations: 340.3 kB / 0.7441 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/0.6277, allocations: 184.2 kB / 0.7443 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.6277, allocations: 8.516 kB / 0.7443 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.6277, allocations: 36.94 kB / 0.7444 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.6277, allocations: 0 / 0.7444 GB, free: 108.5 MB / 0.5105 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01945/0.6472, allocations: 3.182 MB / 0.7475 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.6473, allocations: 54.56 kB / 0.7475 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.6474, allocations: 96.53 kB / 0.7476 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/0.6474, allocations: 29.2 kB / 0.7476 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.6475, allocations: 95.48 kB / 0.7477 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.483e-05/0.6476, allocations: 36.94 kB / 0.7478 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.6476, allocations: 0 / 0.7478 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.246e-05/0.6477, allocations: 319.3 kB / 0.7481 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007771/0.6485, allocations: 219.4 kB / 0.7483 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007846/0.6493, allocations: 216.4 kB / 0.7485 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000778/0.6501, allocations: 215.8 kB / 0.7487 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6501, allocations: 0 / 0.7487 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001825/0.6519, allocations: 0.5281 MB / 0.7492 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6519, allocations: 6.906 kB / 0.7492 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.6519, allocations: 2.906 kB / 0.7492 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.652, allocations: 0.6562 kB / 0.7492 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.6531, allocations: 121.5 kB / 0.7493 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.6531, allocations: 1.016 kB / 0.7493 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/0.6539, allocations: 56.36 kB / 0.7494 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.007e-05/0.654, allocations: 28.89 kB / 0.7494 GB, free: 107.2 MB / 0.5105 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001686/0.6542, allocations: 120.7 kB / 0.7495 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.6543, allocations: 6.609 kB / 0.7495 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.6544, allocations: 17.38 kB / 0.7495 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.6544, allocations: 0 / 0.7495 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6544, allocations: 0 / 0.7495 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6544, allocations: 0.7031 kB / 0.7495 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.6568, allocations: 1.102 MB / 0.7506 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6568, allocations: 0 / 0.7506 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008887/0.6577, allocations: 123 kB / 0.7507 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.6577, allocations: 0.7969 kB / 0.7507 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.855e-05/0.6578, allocations: 24.3 kB / 0.7508 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6578, allocations: 0.75 kB / 0.7508 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6578, allocations: 0.5 kB / 0.7508 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.66, allocations: 0.8678 MB / 0.7516 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.6602, allocations: 122.9 kB / 0.7517 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.046e-05/0.6603, allocations: 4.406 kB / 0.7517 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/0.661, allocations: 61.52 kB / 0.7518 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.6611, allocations: 27.97 kB / 0.7518 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-05/0.6612, allocations: 28.17 kB / 0.7518 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.6612, allocations: 79.69 kB / 0.7519 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6612, allocations: 0 / 0.7519 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004376/0.6617, allocations: 61.88 kB / 0.752 GB, free: 106.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000224/0.6619, allocations: 115 kB / 0.7521 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.6634, allocations: 476.5 kB / 0.7525 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.6634, allocations: 1.375 kB / 0.7525 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.6642, allocations: 250.3 kB / 0.7528 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.6644, allocations: 17.77 kB / 0.7528 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004731/0.6692, allocations: 0.853 MB / 0.7536 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.6693, allocations: 0.7005 MB / 0.7543 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000688/0.67, allocations: 93.02 kB / 0.7544 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.6703, allocations: 57.11 kB / 0.7545 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of SimCode: time 9.02e-07/0.6703, allocations: 1.094 kB / 0.7545 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.006863/0.6772, allocations: 3.252 MB / 0.7576 GB, free: 104.4 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)