Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003978/0.003978, allocations: 358 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.575/1.575, allocations: 165.8 MB / 183.1 MB, free: 5.91 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.185/4.185, allocations: 410.7 MB / 0.6001 GB, free: 2.199 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001823/0.001823, allocations: 188 kB / 0.6668 GB, free: 14.06 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004616, allocations: 16 kB / 0.7429 GB, free: 48 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4627, allocations: 67.44 MB / 0.8087 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001077/0.4639, allocations: 320.8 kB / 0.8091 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003654/0.4675, allocations: 1.421 MB / 0.8104 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.803e-05/0.4676, allocations: 2.344 kB / 0.8104 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.4677, allocations: 4.094 kB / 0.8104 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.181e-05/0.4677, allocations: 0 / 0.8104 GB, free: 244.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008532/0.4686, allocations: 111.3 kB / 0.8106 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.4687, allocations: 19.67 kB / 0.8106 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.4688, allocations: 1.828 kB / 0.8106 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.4689, allocations: 23.66 kB / 0.8106 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.469, allocations: 23.48 kB / 0.8106 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.4691, allocations: 1.406 kB / 0.8106 GB, free: 244.5 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.4703, allocations: 303.8 kB / 0.8109 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.4703, allocations: 12.97 kB / 0.8109 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.4704, allocations: 33 kB / 0.811 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.4709, allocations: 128.5 kB / 0.8111 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4709, allocations: 1.5 kB / 0.8111 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.845e-06/0.471, allocations: 1.906 kB / 0.8111 GB, free: 244.4 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.471, allocations: 1.375 kB / 0.8111 GB, free: 244.4 MB / 0.5886 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.0007803/0.4718, allocations: 357 kB / 0.8114 GB, free: 244 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.4719, allocations: 9.672 kB / 0.8114 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.473, allocations: 84.62 kB / 0.8115 GB, free: 244 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4732, allocations: 162.2 kB / 0.8117 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.4732, allocations: 1.172 kB / 0.8117 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.4733, allocations: 2.75 kB / 0.8117 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005902/0.4739, allocations: 83.55 kB / 0.8118 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.474, allocations: 2.781 kB / 0.8118 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.559e-05/0.474, allocations: 5.375 kB / 0.8118 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.474, allocations: 0 / 0.8118 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008629/0.4749, allocations: 82.28 kB / 0.8118 GB, free: 243.8 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.4752, allocations: 164.5 kB / 0.812 GB, free: 243.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4767, allocations: 141.4 kB / 0.8121 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/0.4772, allocations: 50.41 kB / 0.8122 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/0.4784, allocations: 178.7 kB / 0.8123 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.4784, allocations: 32.97 kB / 0.8124 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 3.988e-06/0.4785, allocations: 0 / 0.8124 GB, free: 243.4 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5): time 0.002787/0.4813, allocations: 445.3 kB / 0.8128 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.4813, allocations: 55.34 kB / 0.8129 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.4814, allocations: 98.78 kB / 0.813 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.4815, allocations: 29.7 kB / 0.813 GB, free: 242.9 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.74e-05/0.4815, allocations: 86.8 kB / 0.8131 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.871e-05/0.4816, allocations: 13.16 kB / 0.8131 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.4816, allocations: 4.781 kB / 0.8131 GB, free: 242.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.4817, allocations: 313.2 kB / 0.8134 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004387/0.4822, allocations: 41.67 kB / 0.8134 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.4827, allocations: 43.17 kB / 0.8135 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004415/0.4831, allocations: 42.08 kB / 0.8135 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4832, allocations: 1.281 kB / 0.8135 GB, free: 242.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001018/0.4842, allocations: 126.9 kB / 0.8136 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.4843, allocations: 9.562 kB / 0.8136 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.4843, allocations: 2.25 kB / 0.8136 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.4843, allocations: 3.953 kB / 0.8136 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004118/0.4848, allocations: 30.34 kB / 0.8137 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4848, allocations: 2.547 kB / 0.8137 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002802/0.4851, allocations: 16.31 kB / 0.8137 GB, free: 242.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.4851, allocations: 3.031 kB / 0.8137 GB, free: 242.4 MB / 0.5886 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 (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 0.000115/0.4853, allocations: 114.8 kB / 0.8138 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/0.4853, allocations: 1.969 kB / 0.8138 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001192/0.4865, allocations: 146.2 kB / 0.8139 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.4866, allocations: 3.953 kB / 0.8139 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4866, allocations: 0.7969 kB / 0.8139 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.4867, allocations: 89.59 kB / 0.814 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.4868, allocations: 0 / 0.814 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.4871, allocations: 28.39 kB / 0.8141 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.4872, allocations: 6.047 kB / 0.8141 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001316/0.4885, allocations: 219 kB / 0.8143 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001514/0.49, allocations: 359.2 kB / 0.8146 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005045/0.4906, allocations: 55.7 kB / 0.8147 GB, free: 241.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.4906, allocations: 77.83 kB / 0.8147 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of Backend: time 1.212e-06/0.4907, allocations: 0 / 0.8147 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.4921, allocations: 187.3 kB / 0.8149 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of SimCode: time 0.0004928/0.4926, allocations: 0.5702 MB / 0.8155 GB, free: 241.1 MB / 0.5886 GB Notification: Performance of Templates: time 0.009859/0.5025, allocations: 1.611 MB / 0.817 GB, free: 241 MB / 0.5886 GB