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.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.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") [/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.6708/0.6708, 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.001049/0.001049, allocations: 188.3 kB / 161.7 MB, free: 2.738 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.724/1.724, 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.0008073/0.0008072, allocations: 102.3 kB / 470.1 MB, free: 12.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004255, allocations: 12 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3417, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1272/0.469, allocations: 103.2 MB / 0.7159 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.4693, allocations: 87.94 kB / 0.716 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01721/0.4866, allocations: 5.853 MB / 0.7217 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.375e-06/0.4866, allocations: 0 / 0.7217 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.4866, allocations: 4 kB / 0.7217 GB, free: 8.852 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005912/0.4872, allocations: 407.2 kB / 0.7221 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.4873, allocations: 12.03 kB / 0.7221 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004232/0.4877, allocations: 64.78 kB / 0.7222 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001584/0.4879, allocations: 172.3 kB / 0.7223 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.4879, allocations: 4.375 kB / 0.7223 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.567e-05/0.488, allocations: 8.375 kB / 0.7223 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.4884, allocations: 118.2 kB / 0.7224 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.4884, allocations: 192 / 0.7224 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.982e-05/0.4884, allocations: 3.938 kB / 0.7224 GB, free: 7.984 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.4884, allocations: 8 kB / 0.7225 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.4889, allocations: 127.9 kB / 0.7226 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.4896, allocations: 348.5 kB / 0.7229 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005984/0.4902, allocations: 182.4 kB / 0.7231 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.4904, allocations: 64.81 kB / 0.7231 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.4904, allocations: 0 / 0.7231 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4905, allocations: 42.5 kB / 0.7232 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.4905, allocations: 0 / 0.7232 GB, free: 7.156 MB / 0.4948 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01618/0.5067, allocations: 3.183 MB / 0.7263 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.5067, allocations: 55.41 kB / 0.7263 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.784e-05/0.5068, allocations: 101.8 kB / 0.7264 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.382e-05/0.5069, allocations: 29.7 kB / 0.7265 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.5069, allocations: 92.12 kB / 0.7266 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.507, allocations: 39.36 kB / 0.7266 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.507, allocations: 4 kB / 0.7266 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5072, allocations: 310.8 kB / 0.7269 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.5078, allocations: 228 kB / 0.7271 GB, free: 2.996 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005926/0.5084, allocations: 219.7 kB / 0.7273 GB, free: 2.781 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.5097, allocations: 450.3 kB / 0.7278 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5097, allocations: 0 / 0.7278 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001388/0.5111, allocations: 0.5129 MB / 0.7283 GB, free: 1.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5111, allocations: 4 kB / 0.7283 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.5111, allocations: 0 / 0.7283 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5111, allocations: 0 / 0.7283 GB, free: 1.816 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/0.5119, allocations: 115.8 kB / 0.7284 GB, free: 1.703 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.5119, allocations: 4 kB / 0.7284 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000546/0.5125, allocations: 59.88 kB / 0.7284 GB, free: 1.641 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/0.5125, allocations: 27.92 kB / 0.7285 GB, free: 1.613 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 (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.0001423/0.5127, allocations: 121.8 kB / 0.7286 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.5128, allocations: 7.906 kB / 0.7286 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.5128, allocations: 7.969 kB / 0.7286 GB, free: 1.473 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.5128, allocations: 7.984 kB / 0.7286 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5128, allocations: 0 / 0.7286 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5128, allocations: 3.938 kB / 0.7286 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.5149, allocations: 1.09 MB / 0.7297 GB, free: 264 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5149, allocations: 3.938 kB / 0.7297 GB, free: 260 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007625/0.5157, allocations: 123.8 kB / 0.7298 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5157, allocations: 3.984 kB / 0.7298 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.5158, allocations: 23.88 kB / 0.7298 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5158, allocations: 0 / 0.7298 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5158, allocations: 4 kB / 0.7298 GB, free: 104 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.518, allocations: 0.8739 MB / 0.7307 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.5181, allocations: 120.9 kB / 0.7308 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.5182, allocations: 3.938 kB / 0.7308 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006008/0.5188, allocations: 60 kB / 0.7308 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.5189, allocations: 31.86 kB / 0.7309 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.519, allocations: 27.92 kB / 0.7309 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.519, allocations: 83.45 kB / 0.731 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.519, allocations: 0 / 0.731 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003769/0.5194, allocations: 59.94 kB / 0.731 GB, free: 14.81 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 () * Number of clocked 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.00029/0.5197, allocations: 123 kB / 0.7312 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.521, allocations: 468.2 kB / 0.7316 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.521, allocations: 4 kB / 0.7316 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.5216, allocations: 247.7 kB / 0.7318 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.522, allocations: 11.94 kB / 0.7319 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.5259, allocations: 0.8618 MB / 0.7327 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.5261, allocations: 0.7003 MB / 0.7334 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006965/0.5268, allocations: 88.67 kB / 0.7335 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002477/0.5271, allocations: 55.3 kB / 0.7335 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.5271, allocations: 0 / 0.7335 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.005947/0.5331, allocations: 3.262 MB / 0.7367 GB, free: 8.949 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)