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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8314/0.8314, allocations: 127.4 MB / 134.6 MB, free: 4.105 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.001046/0.001046, allocations: 185.3 kB / 164.4 MB, free: 6.898 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.707/1.707, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001177/0.001177, allocations: 87.33 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.123e-05, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2035, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5343/0.7379, allocations: 102.6 MB / 0.7212 GB, free: 9.758 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/0.7383, allocations: 75.95 kB / 0.7212 GB, free: 9.684 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.01309/0.7514, allocations: 3.973 MB / 0.7251 GB, free: 5.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.7514, allocations: 0 / 0.7251 GB, free: 5.719 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.0004159/0.7519, allocations: 366.2 kB / 0.7255 GB, free: 5.316 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.7519, allocations: 8.031 kB / 0.7255 GB, free: 5.309 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.7524, allocations: 71.92 kB / 0.7255 GB, free: 5.238 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.7525, allocations: 167 kB / 0.7257 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.7525, allocations: 0 / 0.7257 GB, free: 5.035 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.7526, allocations: 4 kB / 0.7257 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.595e-05/0.7527, allocations: 23.92 kB / 0.7257 GB, free: 5.008 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.7528, allocations: 41.67 kB / 0.7258 GB, free: 4.961 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7528, allocations: 4.922 kB / 0.7258 GB, free: 4.957 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.7528, allocations: 0 / 0.7258 GB, free: 4.957 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.7528, allocations: 8 kB / 0.7258 GB, free: 4.949 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.753, allocations: 142.1 kB / 0.7259 GB, free: 4.773 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.7533, allocations: 50.61 kB / 0.726 GB, free: 4.715 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.998e-05/0.7534, allocations: 20.92 kB / 0.726 GB, free: 4.691 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/0.7535, allocations: 81.11 kB / 0.7261 GB, free: 4.594 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.7535, allocations: 46.59 kB / 0.7261 GB, free: 4.539 MB / 490.7 MB Notification: Performance of pre-optimization done (n=4): time 1.173e-06/0.7535, allocations: 0 / 0.7261 GB, free: 4.539 MB / 490.7 MB Notification: Performance of matching and sorting (n=5): time 0.001376/0.7549, allocations: 442 kB / 0.7265 GB, free: 4.055 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7549, allocations: 59.34 kB / 0.7266 GB, free: 3.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.913e-05/0.755, allocations: 89 kB / 0.7267 GB, free: 3.891 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.755, allocations: 25.7 kB / 0.7267 GB, free: 3.859 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.7551, allocations: 84.08 kB / 0.7268 GB, free: 3.773 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.7551, allocations: 11.81 kB / 0.7268 GB, free: 3.762 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.7551, allocations: 0 / 0.7268 GB, free: 3.762 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7553, allocations: 322.7 kB / 0.7271 GB, free: 3.438 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.361e-05/0.7553, allocations: 12 kB / 0.7271 GB, free: 3.426 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.7553, allocations: 16.12 kB / 0.7271 GB, free: 3.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.7556, allocations: 63.91 kB / 0.7272 GB, free: 3.344 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.7556, allocations: 0 / 0.7272 GB, free: 3.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003617/0.756, allocations: 121.6 kB / 0.7273 GB, free: 3.219 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.756, allocations: 4 kB / 0.7273 GB, free: 3.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.756, allocations: 4.188 kB / 0.7273 GB, free: 3.211 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7561, allocations: 7.984 kB / 0.7273 GB, free: 3.203 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.7562, allocations: 31.98 kB / 0.7273 GB, free: 3.172 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.7562, allocations: 3.906 kB / 0.7273 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.7563, allocations: 15.98 kB / 0.7274 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.7564, allocations: 0 / 0.7274 GB, free: 3.152 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 8.772e-05/0.7565, allocations: 108.9 kB / 0.7275 GB, free: 3.039 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/0.7565, allocations: 7.984 kB / 0.7275 GB, free: 3.031 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.757, allocations: 149.2 kB / 0.7276 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.757, allocations: 0 / 0.7276 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.757, allocations: 0 / 0.7276 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.757, allocations: 0 / 0.7276 GB, free: 2.883 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.7571, allocations: 146.2 kB / 0.7278 GB, free: 2.703 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7571, allocations: 0 / 0.7278 GB, free: 2.703 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.7573, allocations: 27.98 kB / 0.7278 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.7573, allocations: 0 / 0.7278 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.7573, allocations: 4 kB / 0.7278 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7573, allocations: 0 / 0.7278 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.7574, allocations: 7.844 kB / 0.7278 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004519/0.7578, allocations: 174 kB / 0.728 GB, free: 2.477 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/0.7579, allocations: 93.06 kB / 0.728 GB, free: 2.367 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.7579, allocations: 0 / 0.728 GB, free: 2.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.7581, allocations: 20.05 kB / 0.7281 GB, free: 2.348 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.847e-05/0.7581, allocations: 3.984 kB / 0.7281 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.7581, allocations: 4 kB / 0.7281 GB, free: 2.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.3e-05/0.7582, allocations: 75.28 kB / 0.7281 GB, free: 2.266 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.7585, allocations: 43.92 kB / 0.7282 GB, free: 2.223 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.0003129/0.7588, allocations: 135.1 kB / 0.7283 GB, free: 2.082 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.7589, allocations: 44.03 kB / 0.7284 GB, free: 2.039 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7589, allocations: 4 kB / 0.7284 GB, free: 2.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.759, allocations: 20.23 kB / 0.7284 GB, free: 2.016 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001283/0.7591, allocations: 12.08 kB / 0.7284 GB, free: 2.008 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.7597, allocations: 128.1 kB / 0.7285 GB, free: 1.859 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003188/0.76, allocations: 0.7074 MB / 0.7292 GB, free: 1.125 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.76, allocations: 0 / 0.7292 GB, free: 1.125 MB / 490.7 MB Notification: Performance of Templates: time 0.003726/0.7637, allocations: 1.328 MB / 0.7305 GB, free: 15.8 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)