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.811/0.811, allocations: 127.4 MB / 134.9 MB, free: 3.473 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.001066/0.001066, allocations: 179.2 kB / 164.6 MB, free: 11.62 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.336/1.336, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0007982/0.0007985, allocations: 87.62 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.142e-05, allocations: 5.125 kB / 0.5466 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 76.77 MB / 0.6216 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1268/0.2481, allocations: 103.5 MB / 0.7226 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.2485, allocations: 83.94 kB / 0.7227 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01979/0.2683, allocations: 5.773 MB / 0.7284 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2683, allocations: 0 / 0.7284 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.2683, allocations: 4 kB / 0.7284 GB, free: 13.59 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005079/0.2688, allocations: 394.3 kB / 0.7287 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.2689, allocations: 11.97 kB / 0.7287 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/0.2693, allocations: 75.78 kB / 0.7288 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2694, allocations: 163 kB / 0.729 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.2695, allocations: 8 kB / 0.729 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.2695, allocations: 8 kB / 0.729 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/0.2696, allocations: 35.98 kB / 0.729 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.2698, allocations: 71.91 kB / 0.7291 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2698, allocations: 0 / 0.7291 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2698, allocations: 3.984 kB / 0.7291 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2698, allocations: 3.938 kB / 0.7291 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/0.2704, allocations: 317.2 kB / 0.7294 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.2705, allocations: 62.56 kB / 0.7295 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.2706, allocations: 25.7 kB / 0.7295 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.2706, allocations: 7.938 kB / 0.7295 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.2707, allocations: 38.52 kB / 0.7295 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.2707, allocations: 0 / 0.7295 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01307/0.2837, allocations: 2.104 MB / 0.7316 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2838, allocations: 55.34 kB / 0.7316 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.2839, allocations: 96.98 kB / 0.7317 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.284, allocations: 25.7 kB / 0.7318 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.2841, allocations: 84.14 kB / 0.7318 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/0.2842, allocations: 39.45 kB / 0.7319 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.2842, allocations: 0 / 0.7319 GB, free: 9.715 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.2843, allocations: 314.8 kB / 0.7322 GB, free: 9.398 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001954/0.2845, allocations: 115.9 kB / 0.7323 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.2847, allocations: 108.1 kB / 0.7324 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.2851, allocations: 135.9 kB / 0.7325 GB, free: 9.047 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.2851, allocations: 3.938 kB / 0.7325 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007053/0.2858, allocations: 335.9 kB / 0.7328 GB, free: 8.711 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2858, allocations: 4.625 kB / 0.7328 GB, free: 8.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.2858, allocations: 7.984 kB / 0.7329 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2858, allocations: 0 / 0.7329 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/0.2867, allocations: 123.7 kB / 0.733 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.2867, allocations: 4 kB / 0.733 GB, free: 8.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.2873, allocations: 55.94 kB / 0.733 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.2874, allocations: 20.48 kB / 0.7331 GB, free: 8.5 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 () * 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.0001522/0.2875, allocations: 105 kB / 0.7332 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.2876, allocations: 7.859 kB / 0.7332 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/0.2877, allocations: 16.39 kB / 0.7332 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2877, allocations: 0 / 0.7332 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2877, allocations: 96 / 0.7332 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2877, allocations: 7.938 kB / 0.7332 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.2893, allocations: 0.8849 MB / 0.734 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.2894, allocations: 0 / 0.734 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008544/0.2902, allocations: 115.8 kB / 0.7342 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.2902, allocations: 4 kB / 0.7342 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.924e-05/0.2903, allocations: 23.92 kB / 0.7342 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.2903, allocations: 0 / 0.7342 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2903, allocations: 0 / 0.7342 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.2914, allocations: 0.5771 MB / 0.7347 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.2916, allocations: 117 kB / 0.7349 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.808e-05/0.2916, allocations: 3.938 kB / 0.7349 GB, free: 6.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007055/0.2923, allocations: 63.98 kB / 0.7349 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/0.2924, allocations: 23.94 kB / 0.7349 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/0.2925, allocations: 27.92 kB / 0.735 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.2925, allocations: 87.45 kB / 0.7351 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2925, allocations: 4 kB / 0.7351 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004007/0.293, allocations: 51.94 kB / 0.7351 GB, free: 6.254 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 () * 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.0002302/0.2932, allocations: 115.2 kB / 0.7352 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.2937, allocations: 259.7 kB / 0.7355 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2938, allocations: 4 kB / 0.7355 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.294, allocations: 144.2 kB / 0.7356 GB, free: 5.734 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.2942, allocations: 6.625 kB / 0.7356 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.2979, allocations: 0.6988 MB / 0.7363 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.2982, allocations: 0.7002 MB / 0.737 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007094/0.2989, allocations: 88.66 kB / 0.7371 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.2991, allocations: 51.31 kB / 0.7371 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/0.2991, allocations: 4 kB / 0.7371 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of Templates: time 0.005885/0.305, allocations: 3.158 MB / 0.7402 GB, free: 0.9805 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)