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.7448/0.7448, allocations: 127.4 MB / 134.9 MB, free: 3.445 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.00109/0.00109, allocations: 175.4 kB / 164.6 MB, free: 11.61 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.358/1.358, allocations: 205.2 MB / 399.5 MB, free: 13.48 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.0007869/0.0007868, allocations: 80.61 kB / 476.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.069e-05, allocations: 6.125 kB / 0.5466 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1473, allocations: 76.77 MB / 0.6216 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.2777, allocations: 102.7 MB / 0.7219 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.278, allocations: 79.95 kB / 0.7219 GB, free: 4.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01384/0.2918, allocations: 4.27 MB / 0.7261 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2919, allocations: 3.938 kB / 0.7261 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2919, allocations: 4 kB / 0.7261 GB, free: 15.79 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.0004399/0.2923, allocations: 362.4 kB / 0.7265 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2924, allocations: 8.031 kB / 0.7265 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004216/0.2928, allocations: 63.89 kB / 0.7265 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.293, allocations: 163.1 kB / 0.7267 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.293, allocations: 4 kB / 0.7267 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.466e-05/0.293, allocations: 0 / 0.7267 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.638e-05/0.2931, allocations: 16 kB / 0.7267 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.2933, allocations: 61.59 kB / 0.7268 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2933, allocations: 0 / 0.7268 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.2933, allocations: 3.984 kB / 0.7268 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2933, allocations: 0 / 0.7268 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.2935, allocations: 142.2 kB / 0.7269 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.2938, allocations: 50.67 kB / 0.7269 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.2938, allocations: 16.86 kB / 0.727 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.2939, allocations: 16.08 kB / 0.727 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.2939, allocations: 34.5 kB / 0.727 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.2939, allocations: 0 / 0.727 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5): time 0.001425/0.2954, allocations: 426.1 kB / 0.7274 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.2954, allocations: 59.41 kB / 0.7275 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.2955, allocations: 85 kB / 0.7276 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.2955, allocations: 25.7 kB / 0.7276 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.2955, allocations: 80.14 kB / 0.7277 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.2956, allocations: 23.66 kB / 0.7277 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.2956, allocations: 0 / 0.7277 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.2957, allocations: 322.9 kB / 0.728 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.441e-05/0.2957, allocations: 12 kB / 0.728 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.962e-05/0.2958, allocations: 15.94 kB / 0.728 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.296, allocations: 63.86 kB / 0.7281 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.296, allocations: 0 / 0.7281 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003451/0.2964, allocations: 117.6 kB / 0.7282 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2964, allocations: 9.875 kB / 0.7282 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.2964, allocations: 0 / 0.7282 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2965, allocations: 0 / 0.7282 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.2966, allocations: 31.97 kB / 0.7282 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2966, allocations: 0 / 0.7282 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.2968, allocations: 15.98 kB / 0.7282 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2968, allocations: 0 / 0.7282 GB, free: 13.36 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 (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 7.029e-05/0.2968, allocations: 104.9 kB / 0.7283 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.2969, allocations: 8 kB / 0.7283 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000449/0.2973, allocations: 138 kB / 0.7285 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2973, allocations: 0 / 0.7285 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2974, allocations: 8.062 kB / 0.7285 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2974, allocations: 0 / 0.7285 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.2975, allocations: 150.2 kB / 0.7286 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2975, allocations: 0 / 0.7286 GB, free: 12.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.2977, allocations: 27.98 kB / 0.7287 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2977, allocations: 0 / 0.7287 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.2977, allocations: 0 / 0.7287 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2977, allocations: 0 / 0.7287 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2977, allocations: 3.984 kB / 0.7287 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/0.2981, allocations: 168.9 kB / 0.7288 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.789e-05/0.2982, allocations: 93.08 kB / 0.7289 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.2983, allocations: 3.938 kB / 0.7289 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.2984, allocations: 16.05 kB / 0.7289 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.2985, allocations: 7.984 kB / 0.7289 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.2985, allocations: 4 kB / 0.7289 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.895e-05/0.2985, allocations: 75.28 kB / 0.729 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2985, allocations: 0 / 0.729 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002328/0.2988, allocations: 39.94 kB / 0.7291 GB, free: 12.45 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 () * 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.0002135/0.299, allocations: 139.1 kB / 0.7292 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001116/0.2991, allocations: 35.94 kB / 0.7292 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2991, allocations: 8.031 kB / 0.7292 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.2992, allocations: 24 kB / 0.7293 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.2993, allocations: 8.625 kB / 0.7293 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.2998, allocations: 125.9 kB / 0.7294 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3, allocations: 0.6846 MB / 0.73 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.3002, allocations: 16 kB / 0.7301 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.3002, allocations: 15.42 kB / 0.7301 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.3002, allocations: 0 / 0.7301 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.003282/0.3035, allocations: 1.07 MB / 0.7311 GB, free: 10.27 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)