Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002496/0.002496, allocations: 359.3 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.406/1.406, allocations: 165.8 MB / 183.1 MB, free: 5.531 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.839/3.839, allocations: 410.7 MB / 0.6001 GB, free: 15.19 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001744/0.001744, allocations: 202.8 kB / 0.6668 GB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004694, allocations: 12 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4006, allocations: 67.44 MB / 0.8088 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009879/0.4017, allocations: 0.4889 MB / 0.8092 GB, free: 28.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.4036, allocations: 1.438 MB / 0.8106 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.108e-05/0.4036, allocations: 0 / 0.8106 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.4037, allocations: 3.938 kB / 0.8106 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.631e-05/0.4037, allocations: 0 / 0.8106 GB, free: 26.86 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005142/0.4042, allocations: 111.6 kB / 0.8108 GB, free: 26.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.4043, allocations: 43.89 kB / 0.8108 GB, free: 26.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.4044, allocations: 4 kB / 0.8108 GB, free: 26.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.4045, allocations: 31.92 kB / 0.8108 GB, free: 26.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.354e-05/0.4045, allocations: 23.91 kB / 0.8108 GB, free: 26.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.4046, allocations: 4 kB / 0.8109 GB, free: 26.64 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000596/0.4052, allocations: 311.3 kB / 0.8112 GB, free: 26.34 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.4052, allocations: 11.98 kB / 0.8112 GB, free: 26.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.4052, allocations: 33.64 kB / 0.8112 GB, free: 26.29 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.4055, allocations: 149.9 kB / 0.8113 GB, free: 26.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4056, allocations: 0 / 0.8113 GB, free: 26.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4056, allocations: 0 / 0.8113 GB, free: 26.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.4056, allocations: 0 / 0.8113 GB, free: 26.14 MB / 378.7 MB 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.0007282/0.4063, allocations: 403.1 kB / 0.8117 GB, free: 25.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4064, allocations: 8.031 kB / 0.8117 GB, free: 25.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007141/0.4071, allocations: 79.83 kB / 0.8118 GB, free: 25.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.13e-05/0.4072, allocations: 178.9 kB / 0.812 GB, free: 25.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.693e-05/0.4072, allocations: 8 kB / 0.812 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.4073, allocations: 11.94 kB / 0.812 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005613/0.4078, allocations: 121.6 kB / 0.8121 GB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.4079, allocations: 0 / 0.8121 GB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.4079, allocations: 0 / 0.8121 GB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4079, allocations: 4 kB / 0.8121 GB, free: 25.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008516/0.4088, allocations: 119.9 kB / 0.8122 GB, free: 25.13 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006955/0.4095, allocations: 340.6 kB / 0.8126 GB, free: 24.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.4106, allocations: 186.4 kB / 0.8127 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.4111, allocations: 60.81 kB / 0.8128 GB, free: 24.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.4111, allocations: 4 kB / 0.8128 GB, free: 24.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.4111, allocations: 46.53 kB / 0.8128 GB, free: 24.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.4111, allocations: 0 / 0.8128 GB, free: 24.44 MB / 378.7 MB 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.03527/0.4464, allocations: 3.181 MB / 0.8159 GB, free: 21.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.4465, allocations: 55.41 kB / 0.816 GB, free: 21.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.4466, allocations: 101.8 kB / 0.8161 GB, free: 20.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.4466, allocations: 25.7 kB / 0.8161 GB, free: 20.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.4467, allocations: 88.14 kB / 0.8162 GB, free: 20.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.356e-05/0.4468, allocations: 39.39 kB / 0.8162 GB, free: 20.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.4469, allocations: 4 kB / 0.8162 GB, free: 20.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.993e-05/0.4469, allocations: 322.8 kB / 0.8166 GB, free: 20.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.4481, allocations: 219.8 kB / 0.8168 GB, free: 20.28 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001204/0.4494, allocations: 217 kB / 0.817 GB, free: 20.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.4506, allocations: 215.8 kB / 0.8172 GB, free: 19.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4506, allocations: 0 / 0.8172 GB, free: 19.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002777/0.4534, allocations: 0.5225 MB / 0.8177 GB, free: 19.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4535, allocations: 10.81 kB / 0.8177 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4535, allocations: 0 / 0.8177 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4535, allocations: 4 kB / 0.8177 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.4551, allocations: 115.8 kB / 0.8178 GB, free: 19.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4551, allocations: 1.016 kB / 0.8178 GB, free: 19.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/0.4563, allocations: 59.94 kB / 0.8179 GB, free: 19.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.685e-05/0.4564, allocations: 27.92 kB / 0.8179 GB, free: 19.12 MB / 378.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 () * 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.0002077/0.4567, allocations: 117.8 kB / 0.818 GB, free: 19 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.4568, allocations: 7.844 kB / 0.818 GB, free: 18.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.245e-05/0.4569, allocations: 15.97 kB / 0.818 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4569, allocations: 7.984 kB / 0.818 GB, free: 18.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.4569, allocations: 0 / 0.818 GB, free: 18.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.4571, allocations: 113.1 kB / 0.8181 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.4572, allocations: 3.938 kB / 0.8181 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.4585, allocations: 63.83 kB / 0.8182 GB, free: 18.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.4587, allocations: 31.92 kB / 0.8182 GB, free: 18.74 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004134/0.4628, allocations: 0.6643 MB / 0.8189 GB, free: 18.07 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004186/0.4671, allocations: 0.9394 MB / 0.8198 GB, free: 17.11 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001227/0.4683, allocations: 219.9 kB / 0.82 GB, free: 16.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.562e-05/0.4684, allocations: 87.27 kB / 0.8201 GB, free: 16.81 MB / 378.7 MB Notification: Performance of Backend: time 8.52e-07/0.4684, allocations: 0 / 0.8201 GB, free: 16.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.4704, allocations: 387.2 kB / 0.8205 GB, free: 16.43 MB / 378.7 MB Notification: Performance of SimCode: time 0.0006926/0.4711, allocations: 0.6681 MB / 0.8211 GB, free: 15.72 MB / 378.7 MB Notification: Performance of Templates: time 0.01301/0.4842, allocations: 6.501 MB / 0.8275 GB, free: 9.203 MB / 378.7 MB