Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8149/0.8149, allocations: 127.3 MB / 139.8 MB, free: 15.44 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009973/0.0009974, allocations: 188.8 kB / 169.7 MB, free: 1.738 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.684/1.684, allocations: 205.1 MB / 404.5 MB, free: 1.656 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.0009512/0.0009515, allocations: 79.77 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.796e-05, allocations: 4 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1634, allocations: 76.75 MB / 0.6282 GB, free: 10 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.6491, allocations: 103.4 MB / 0.7291 GB, free: 10.03 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.6495, allocations: 83.52 kB / 0.7292 GB, free: 9.984 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01285/0.6623, allocations: 4.28 MB / 0.7334 GB, free: 6.312 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.627e-06/0.6624, allocations: 0 / 0.7334 GB, free: 6.312 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.6624, allocations: 3.938 kB / 0.7334 GB, free: 6.309 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003862/0.6628, allocations: 365.5 kB / 0.7337 GB, free: 5.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6628, allocations: 8.031 kB / 0.7337 GB, free: 5.902 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.6632, allocations: 67.27 kB / 0.7338 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.6634, allocations: 171 kB / 0.734 GB, free: 5.633 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.6634, allocations: 4 kB / 0.734 GB, free: 5.629 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.6634, allocations: 0 / 0.734 GB, free: 5.629 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.6636, allocations: 49.17 kB / 0.734 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.6636, allocations: 0 / 0.734 GB, free: 5.578 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.6636, allocations: 6.484 kB / 0.734 GB, free: 5.574 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.6636, allocations: 0 / 0.734 GB, free: 5.574 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/0.6637, allocations: 23.3 kB / 0.734 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.6639, allocations: 168.2 kB / 0.7342 GB, free: 5.348 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.6641, allocations: 57.38 kB / 0.7343 GB, free: 5.289 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.6642, allocations: 23.42 kB / 0.7343 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.6642, allocations: 4 kB / 0.7343 GB, free: 5.266 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.6643, allocations: 34.56 kB / 0.7343 GB, free: 5.223 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.6643, allocations: 0 / 0.7343 GB, free: 5.223 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005317/0.6648, allocations: 287.8 kB / 0.7346 GB, free: 4.906 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.6649, allocations: 51.41 kB / 0.7346 GB, free: 4.844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.287e-05/0.6649, allocations: 88.75 kB / 0.7347 GB, free: 4.754 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.6649, allocations: 29.7 kB / 0.7348 GB, free: 4.719 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.665, allocations: 84.12 kB / 0.7348 GB, free: 4.633 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.665, allocations: 15.47 kB / 0.7349 GB, free: 4.621 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.665, allocations: 0 / 0.7349 GB, free: 4.621 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.6651, allocations: 322.9 kB / 0.7352 GB, free: 4.297 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.64e-05/0.6652, allocations: 11.19 kB / 0.7352 GB, free: 4.289 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.158e-05/0.6652, allocations: 11.94 kB / 0.7352 GB, free: 4.281 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.055e-05/0.6653, allocations: 19.17 kB / 0.7352 GB, free: 4.266 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6653, allocations: 3.938 kB / 0.7352 GB, free: 4.262 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001249/0.6654, allocations: 68.19 kB / 0.7353 GB, free: 4.199 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6654, allocations: 7.938 kB / 0.7353 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6654, allocations: 3.938 kB / 0.7353 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.6655, allocations: 0 / 0.7353 GB, free: 4.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.6656, allocations: 31.97 kB / 0.7353 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.6656, allocations: 0 / 0.7353 GB, free: 4.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.627e-05/0.6657, allocations: 15.98 kB / 0.7353 GB, free: 4.141 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/0.6658, allocations: 3.312 kB / 0.7353 GB, free: 4.141 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.933e-05/0.6658, allocations: 112.9 kB / 0.7354 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.168e-05/0.6658, allocations: 0 / 0.7354 GB, free: 4.023 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.6661, allocations: 88.09 kB / 0.7355 GB, free: 3.949 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6661, allocations: 4 kB / 0.7355 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.6661, allocations: 0 / 0.7355 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6661, allocations: 0 / 0.7355 GB, free: 3.945 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.6662, allocations: 176.3 kB / 0.7357 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6663, allocations: 0 / 0.7357 GB, free: 3.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.6664, allocations: 27.97 kB / 0.7357 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6664, allocations: 0 / 0.7357 GB, free: 3.703 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.6665, allocations: 7.562 kB / 0.7357 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.6665, allocations: 0 / 0.7357 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6665, allocations: 0 / 0.7357 GB, free: 3.699 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.6667, allocations: 128.1 kB / 0.7359 GB, free: 3.574 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.55e-05/0.6668, allocations: 81.09 kB / 0.7359 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.6668, allocations: 7.844 kB / 0.7359 GB, free: 3.473 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.6669, allocations: 20.05 kB / 0.736 GB, free: 3.453 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.667, allocations: 7.984 kB / 0.736 GB, free: 3.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.667, allocations: 4 kB / 0.736 GB, free: 3.441 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.667, allocations: 75.28 kB / 0.736 GB, free: 3.367 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.667, allocations: 0 / 0.736 GB, free: 3.367 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002257/0.6673, allocations: 46.75 kB / 0.7361 GB, free: 3.324 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002263/0.6675, allocations: 142.4 kB / 0.7362 GB, free: 3.18 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.6676, allocations: 43.59 kB / 0.7363 GB, free: 3.145 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.6676, allocations: 0 / 0.7363 GB, free: 3.145 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.6677, allocations: 19.25 kB / 0.7363 GB, free: 3.129 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.6678, allocations: 10.98 kB / 0.7363 GB, free: 3.125 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.6682, allocations: 133.4 kB / 0.7364 GB, free: 2.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.6685, allocations: 0.6809 MB / 0.7371 GB, free: 2.273 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.6686, allocations: 24.06 kB / 0.7371 GB, free: 2.25 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.6687, allocations: 15.42 kB / 0.7371 GB, free: 2.234 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6687, allocations: 0 / 0.7371 GB, free: 2.234 MB / 490.7 MB Notification: Performance of Templates: time 0.002978/0.6717, allocations: 1.113 MB / 0.7382 GB, free: 1.137 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)