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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7069/0.7069, allocations: 117.9 MB / 133.9 MB, free: 4.52 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.001271/0.001272, allocations: 174.6 kB / 161.7 MB, free: 2.762 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 394.8 MB, free: 20.93 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.0007789/0.0007789, allocations: 96.45 kB / 470.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005914/0.0005916, allocations: 16 kB / 0.5423 GB, free: 6.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3821, allocations: 74.54 MB / 0.6151 GB, free: 54.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.5597, allocations: 102.4 MB / 0.7151 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.56, allocations: 83.94 kB / 0.7152 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01703/0.5771, allocations: 4.321 MB / 0.7194 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.677e-06/0.5772, allocations: 0 / 0.7194 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.5772, allocations: 4 kB / 0.7194 GB, free: 11.23 MB / 0.4948 GB 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.0009065/0.5781, allocations: 375.3 kB / 0.7198 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.919e-05/0.5782, allocations: 8.031 kB / 0.7198 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005239/0.5788, allocations: 72.73 kB / 0.7198 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002138/0.579, allocations: 164.4 kB / 0.72 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.5791, allocations: 384 / 0.72 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.5791, allocations: 8.312 kB / 0.72 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.5795, allocations: 89.94 kB / 0.7201 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.5795, allocations: 192 / 0.7201 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.5795, allocations: 3.938 kB / 0.7201 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5796, allocations: 0 / 0.7201 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003779/0.5799, allocations: 75.94 kB / 0.7202 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.5802, allocations: 165.7 kB / 0.7203 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007541/0.581, allocations: 146.5 kB / 0.7205 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.5812, allocations: 48.98 kB / 0.7205 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.239e-05/0.5813, allocations: 4 kB / 0.7205 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.5813, allocations: 38.55 kB / 0.7205 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.5814, allocations: 0 / 0.7205 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5): time 0.001576/0.5829, allocations: 450.2 kB / 0.721 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.583, allocations: 51.41 kB / 0.721 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.428e-05/0.5831, allocations: 93.86 kB / 0.7211 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.5831, allocations: 29.7 kB / 0.7211 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/0.5832, allocations: 80.27 kB / 0.7212 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.5832, allocations: 15.8 kB / 0.7212 GB, free: 9.102 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.5832, allocations: 4 kB / 0.7212 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.5834, allocations: 314.8 kB / 0.7215 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002139/0.5836, allocations: 43.91 kB / 0.7216 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.5838, allocations: 39.97 kB / 0.7216 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.5842, allocations: 88.98 kB / 0.7217 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5842, allocations: 4 kB / 0.7217 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004921/0.5847, allocations: 133.5 kB / 0.7218 GB, free: 8.469 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.5848, allocations: 7.938 kB / 0.7218 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.5848, allocations: 0 / 0.7218 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.5848, allocations: 0 / 0.7218 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.585, allocations: 31.91 kB / 0.7219 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.585, allocations: 0 / 0.7219 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.5852, allocations: 19.98 kB / 0.7219 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.5852, allocations: 4 kB / 0.7219 GB, free: 8.406 MB / 0.4948 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 (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 0.0001043/0.5853, allocations: 109.8 kB / 0.722 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.5853, allocations: 3.938 kB / 0.722 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/0.586, allocations: 153 kB / 0.7221 GB, free: 8.129 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.586, allocations: 4 kB / 0.7221 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.586, allocations: 0 / 0.7221 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.586, allocations: 4 kB / 0.7222 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.5862, allocations: 165.7 kB / 0.7223 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.5862, allocations: 0 / 0.7223 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.5864, allocations: 31.91 kB / 0.7223 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.5864, allocations: 3.938 kB / 0.7223 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.5865, allocations: 4 kB / 0.7223 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.5865, allocations: 0 / 0.7223 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5865, allocations: 0 / 0.7223 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007545/0.5873, allocations: 208.9 kB / 0.7225 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.5874, allocations: 89.19 kB / 0.7226 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.5874, allocations: 7.922 kB / 0.7226 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.5876, allocations: 16.17 kB / 0.7227 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.5876, allocations: 4 kB / 0.7227 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.5877, allocations: 8 kB / 0.7227 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.845e-05/0.5877, allocations: 79.27 kB / 0.7227 GB, free: 7.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.5877, allocations: 4.094 kB / 0.7227 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004115/0.5881, allocations: 43.88 kB / 0.7228 GB, free: 7.383 MB / 0.4948 GB 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 () * Number of clocked 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.0003277/0.5885, allocations: 146.9 kB / 0.7229 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004813/0.589, allocations: 91.92 kB / 0.723 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.589, allocations: 4 kB / 0.723 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.5892, allocations: 51.91 kB / 0.7231 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.5895, allocations: 7.984 kB / 0.7231 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/0.5903, allocations: 204.8 kB / 0.7233 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.5906, allocations: 0.6809 MB / 0.7239 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.5908, allocations: 12 kB / 0.7239 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.5908, allocations: 15.38 kB / 0.724 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of SimCode: time 2.61e-07/0.5908, allocations: 0 / 0.724 GB, free: 6.113 MB / 0.4948 GB Notification: Performance of Templates: time 0.005033/0.5959, allocations: 1.119 MB / 0.7251 GB, free: 5 MB / 0.4948 GB 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)