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.8179/0.8179, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001287/0.001287, allocations: 192.3 kB / 173.8 MB, free: 6.113 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.729/1.729, allocations: 205.4 MB / 409 MB, free: 10.5 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.0008165/0.0008165, allocations: 102.6 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 14.91 kB / 0.5604 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 76.77 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.2925, allocations: 103.5 MB / 0.7364 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.2928, allocations: 87.94 kB / 0.7365 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01285/0.3057, allocations: 4.301 MB / 0.7407 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3057, allocations: 0 / 0.7407 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.3058, allocations: 0 / 0.7407 GB, free: 2.527 MB / 0.5105 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.0004868/0.3063, allocations: 367.2 kB / 0.741 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3063, allocations: 12.03 kB / 0.741 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.3067, allocations: 67.88 kB / 0.7411 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3068, allocations: 167 kB / 0.7412 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.3069, allocations: 0 / 0.7412 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.3069, allocations: 12 kB / 0.7413 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.3072, allocations: 81.62 kB / 0.7413 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3072, allocations: 0 / 0.7413 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3072, allocations: 0 / 0.7413 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.3072, allocations: 4 kB / 0.7413 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.3075, allocations: 75.88 kB / 0.7414 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002055/0.3077, allocations: 169.5 kB / 0.7416 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.3083, allocations: 146.6 kB / 0.7417 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.3084, allocations: 4 kB / 0.7417 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.3084, allocations: 30.56 kB / 0.7417 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3084, allocations: 4 kB / 0.7418 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.001166/0.3096, allocations: 442.6 kB / 0.7422 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3096, allocations: 51.41 kB / 0.7422 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.533e-05/0.3097, allocations: 92.94 kB / 0.7423 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.3097, allocations: 33.64 kB / 0.7423 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.3098, allocations: 84.12 kB / 0.7424 GB, free: 492 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.3098, allocations: 15.73 kB / 0.7424 GB, free: 476 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-06/0.3098, allocations: 8.125 kB / 0.7424 GB, free: 468 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.3099, allocations: 318.8 kB / 0.7428 GB, free: 140 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3101, allocations: 43.95 kB / 0.7428 GB, free: 96 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3103, allocations: 39.97 kB / 0.7428 GB, free: 56 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.3104, allocations: 43.97 kB / 0.7429 GB, free: 12 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.3104, allocations: 0 / 0.7429 GB, free: 12 kB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.3973/0.7077, allocations: 118.6 kB / 0.743 GB, free: 109 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.131e-05/0.7078, allocations: 4.406 kB / 0.743 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.7079, allocations: 0.5938 kB / 0.743 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.7079, allocations: 1.656 kB / 0.743 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.7081, allocations: 31.36 kB / 0.743 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.7081, allocations: 1.312 kB / 0.743 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.7083, allocations: 17.41 kB / 0.743 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.7083, allocations: 2.531 kB / 0.743 GB, free: 109 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 (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 9.28e-05/0.7084, allocations: 117.9 kB / 0.7432 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.7084, allocations: 3.469 kB / 0.7432 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005975/0.709, allocations: 150.3 kB / 0.7433 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.7091, allocations: 2.938 kB / 0.7433 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7091, allocations: 0 / 0.7433 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7091, allocations: 0 / 0.7433 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.7092, allocations: 170.2 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7093, allocations: 0 / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.7095, allocations: 29.69 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.7095, allocations: 3.938 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.7095, allocations: 3.812 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7095, allocations: 1.016 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7095, allocations: 2.906 kB / 0.7435 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.7103, allocations: 202.4 kB / 0.7437 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.7104, allocations: 91.58 kB / 0.7438 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.7104, allocations: 0.5625 kB / 0.7438 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.7106, allocations: 21.19 kB / 0.7438 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/0.7106, allocations: 6.953 kB / 0.7438 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.7106, allocations: 2.562 kB / 0.7438 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.006e-05/0.7107, allocations: 85.23 kB / 0.7439 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7107, allocations: 3.844 kB / 0.7439 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004045/0.7111, allocations: 38.05 kB / 0.7439 GB, free: 108.4 MB / 0.5105 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.0002728/0.7114, allocations: 150.1 kB / 0.7441 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005088/0.7119, allocations: 90.98 kB / 0.7442 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7119, allocations: 1.094 kB / 0.7442 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/0.7122, allocations: 53.23 kB / 0.7442 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.7123, allocations: 6.578 kB / 0.7442 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008383/0.7132, allocations: 194.3 kB / 0.7444 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.7133, allocations: 0.6869 MB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.7135, allocations: 17.56 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.328e-05/0.7135, allocations: 11.97 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of SimCode: time 3.21e-07/0.7135, allocations: 0 / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.00368/0.7172, allocations: 1.112 MB / 0.7462 GB, free: 107.4 MB / 0.5105 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)