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.001415/0.001415, allocations: 184.6 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.769/0.769, allocations: 82.92 MB / 99.42 MB, free: 3.32 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.337/2.337, allocations: 205.4 MB / 325.4 MB, free: 3.336 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 94.66 kB / 393.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007778/0.0007781, allocations: 16 kB / 471.6 MB, free: 66.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08981/0.09064, allocations: 67.45 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007849/0.09146, allocations: 316.3 kB / 0.5267 GB, free: 14.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.09381, allocations: 1.424 MB / 0.5281 GB, free: 13.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.09387, allocations: 4 kB / 0.5281 GB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.0939, allocations: 3.938 kB / 0.5281 GB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.63e-05/0.09394, allocations: 4 kB / 0.5281 GB, free: 13.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.09473, allocations: 103.7 kB / 0.5282 GB, free: 13.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.09485, allocations: 23.91 kB / 0.5282 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.354e-05/0.09493, allocations: 0 / 0.5282 GB, free: 13.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.508e-05/0.09501, allocations: 23.98 kB / 0.5282 GB, free: 13.14 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.09515, allocations: 23.91 kB / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.09519, allocations: 0 / 0.5282 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009513/0.09617, allocations: 307.5 kB / 0.5285 GB, free: 12.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.09624, allocations: 11.92 kB / 0.5285 GB, free: 12.8 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.09631, allocations: 29.7 kB / 0.5286 GB, free: 12.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004986/0.09683, allocations: 135.9 kB / 0.5287 GB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.09685, allocations: 0 / 0.5287 GB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.09687, allocations: 0 / 0.5287 GB, free: 12.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.247e-06/0.09689, allocations: 0 / 0.5287 GB, free: 12.63 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008679/0.09778, allocations: 371.5 kB / 0.5291 GB, free: 12.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.09785, allocations: 8.031 kB / 0.5291 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008815/0.09876, allocations: 79.91 kB / 0.5291 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.09896, allocations: 159.1 kB / 0.5293 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.09901, allocations: 4 kB / 0.5293 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.09907, allocations: 4 kB / 0.5293 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.09955, allocations: 81.59 kB / 0.5294 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.09959, allocations: 7.984 kB / 0.5294 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.09963, allocations: 3.938 kB / 0.5294 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.489e-06/0.09965, allocations: 0 / 0.5294 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.1002, allocations: 79.94 kB / 0.5295 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.1006, allocations: 161.7 kB / 0.5296 GB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.1018, allocations: 142.5 kB / 0.5298 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008241/0.1027, allocations: 181 kB / 0.5299 GB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.1028, allocations: 30.56 kB / 0.53 GB, free: 11.17 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 3.923e-06/0.1028, allocations: 0 / 0.53 GB, free: 11.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.002361/0.1052, allocations: 446 kB / 0.5304 GB, free: 10.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1053, allocations: 51.41 kB / 0.5304 GB, free: 10.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1054, allocations: 97.84 kB / 0.5305 GB, free: 10.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.1055, allocations: 33.83 kB / 0.5306 GB, free: 10.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.1055, allocations: 80.14 kB / 0.5306 GB, free: 10.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.463e-05/0.1056, allocations: 15.73 kB / 0.5307 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.958e-05/0.1057, allocations: 4 kB / 0.5307 GB, free: 10.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.1059, allocations: 314.8 kB / 0.531 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.1063, allocations: 47.95 kB / 0.531 GB, free: 10.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.1066, allocations: 35.97 kB / 0.531 GB, free: 9.973 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.107, allocations: 43.97 kB / 0.5311 GB, free: 9.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.235e-06/0.107, allocations: 0 / 0.5311 GB, free: 9.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000844/0.1079, allocations: 125.5 kB / 0.5312 GB, free: 9.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.1079, allocations: 7.984 kB / 0.5312 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.237e-06/0.108, allocations: 7.938 kB / 0.5312 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.911e-05/0.108, allocations: 8.203 kB / 0.5312 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.1083, allocations: 23.92 kB / 0.5312 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-05/0.1084, allocations: 8 kB / 0.5312 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.1086, allocations: 15.98 kB / 0.5313 GB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.1087, allocations: 4 kB / 0.5313 GB, free: 9.727 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 (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.0001655/0.1089, allocations: 113.8 kB / 0.5314 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.1089, allocations: 4 kB / 0.5314 GB, free: 9.602 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.11, allocations: 145.2 kB / 0.5315 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.11, allocations: 3.953 kB / 0.5315 GB, free: 9.449 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.992e-06/0.1101, allocations: 3.938 kB / 0.5315 GB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.345e-06/0.1101, allocations: 0 / 0.5315 GB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003007/0.1104, allocations: 165.7 kB / 0.5317 GB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.773e-06/0.1104, allocations: 4 kB / 0.5317 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.1108, allocations: 23.98 kB / 0.5317 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.1108, allocations: 4 kB / 0.5317 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.1109, allocations: 0 / 0.5317 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.693e-06/0.1109, allocations: 0 / 0.5317 GB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.1109, allocations: 3.953 kB / 0.5317 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.1123, allocations: 204.9 kB / 0.5319 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.1125, allocations: 89.12 kB / 0.532 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.1126, allocations: 3.938 kB / 0.532 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.1128, allocations: 20.05 kB / 0.532 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.1129, allocations: 15.88 kB / 0.532 GB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.113, allocations: 0 / 0.532 GB, free: 8.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.376e-05/0.1131, allocations: 83.28 kB / 0.5321 GB, free: 8.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.323e-06/0.1131, allocations: 0 / 0.5321 GB, free: 8.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005913/0.1137, allocations: 28 kB / 0.5321 GB, free: 8.727 MB / 378.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 () * Number of clocked 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.0003789/0.1141, allocations: 135.3 kB / 0.5323 GB, free: 8.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008434/0.115, allocations: 91.94 kB / 0.5324 GB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.241e-06/0.115, allocations: 4 kB / 0.5324 GB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000427/0.1155, allocations: 56.14 kB / 0.5324 GB, free: 8.438 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.1157, allocations: 3.938 kB / 0.5324 GB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1169, allocations: 197 kB / 0.5326 GB, free: 8.215 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.1174, allocations: 0.6848 MB / 0.5333 GB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003119/0.1177, allocations: 23.98 kB / 0.5333 GB, free: 7.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.1179, allocations: 11.44 kB / 0.5333 GB, free: 7.469 MB / 378.7 MB Notification: Performance of SimCode: time 2.641e-06/0.1179, allocations: 4 kB / 0.5333 GB, free: 7.465 MB / 378.7 MB Notification: Performance of Templates: time 0.006958/0.1249, allocations: 1.095 MB / 0.5344 GB, free: 6.371 MB / 378.7 MB