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.001395/0.001398, allocations: 181.8 kB / 15.76 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.6862/0.6862, allocations: 82.93 MB / 99.42 MB, free: 3.25 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.345/2.345, allocations: 205.4 MB / 325.4 MB, free: 3.34 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.001026/0.001026, allocations: 94.59 kB / 393.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005094, allocations: 16 kB / 471.5 MB, free: 66.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09725/0.09779, allocations: 67.45 MB / 0.5264 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009821/0.09882, allocations: 495.3 kB / 0.5268 GB, free: 14.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.1011, allocations: 1.45 MB / 0.5283 GB, free: 13.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.1012, allocations: 4 kB / 0.5283 GB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.724e-05/0.1012, allocations: 3.984 kB / 0.5283 GB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.1013, allocations: 0 / 0.5283 GB, free: 13.1 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.1018, allocations: 107.7 kB / 0.5284 GB, free: 12.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.757e-05/0.1019, allocations: 35.89 kB / 0.5284 GB, free: 12.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.1019, allocations: 4 kB / 0.5284 GB, free: 12.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.246e-05/0.102, allocations: 23.92 kB / 0.5284 GB, free: 12.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.1021, allocations: 31.89 kB / 0.5285 GB, free: 12.9 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1021, allocations: 4 kB / 0.5285 GB, free: 12.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005785/0.1027, allocations: 319.4 kB / 0.5288 GB, free: 12.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.16e-05/0.1027, allocations: 11.98 kB / 0.5288 GB, free: 12.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.1028, allocations: 29.7 kB / 0.5288 GB, free: 12.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.1031, allocations: 156 kB / 0.529 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.438e-06/0.1031, allocations: 3.938 kB / 0.529 GB, free: 12.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.955e-06/0.1031, allocations: 0 / 0.529 GB, free: 12.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.358e-06/0.1032, allocations: 8 kB / 0.529 GB, free: 12.37 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.0006864/0.1039, allocations: 388.2 kB / 0.5293 GB, free: 11.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1039, allocations: 8.031 kB / 0.5293 GB, free: 11.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005226/0.1044, allocations: 91.81 kB / 0.5294 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.1046, allocations: 159.1 kB / 0.5296 GB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.1047, allocations: 11.94 kB / 0.5296 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1047, allocations: 8 kB / 0.5296 GB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.1053, allocations: 117.6 kB / 0.5297 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.1054, allocations: 4 kB / 0.5297 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.1054, allocations: 0 / 0.5297 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.1054, allocations: 3.984 kB / 0.5297 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.1062, allocations: 131.8 kB / 0.5298 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007113/0.1069, allocations: 344.5 kB / 0.5302 GB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/0.1078, allocations: 186.4 kB / 0.5304 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.1078, allocations: 0 / 0.5304 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.1079, allocations: 34.55 kB / 0.5304 GB, free: 10.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.986e-06/0.1079, allocations: 4 kB / 0.5304 GB, free: 10.75 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.02305/0.1309, allocations: 3.182 MB / 0.5335 GB, free: 7.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.131, allocations: 51.41 kB / 0.5335 GB, free: 7.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.1311, allocations: 105.8 kB / 0.5336 GB, free: 7.297 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.1312, allocations: 25.7 kB / 0.5337 GB, free: 7.266 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.1313, allocations: 92.08 kB / 0.5338 GB, free: 7.172 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/0.1314, allocations: 43.36 kB / 0.5338 GB, free: 7.129 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.1315, allocations: 0 / 0.5338 GB, free: 7.129 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.1317, allocations: 322.8 kB / 0.5341 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009078/0.1326, allocations: 219.7 kB / 0.5343 GB, free: 6.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/0.1335, allocations: 215.8 kB / 0.5345 GB, free: 6.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009548/0.1345, allocations: 222.5 kB / 0.5347 GB, free: 6.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.608e-06/0.1345, allocations: 0 / 0.5347 GB, free: 6.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002139/0.1367, allocations: 0.5129 MB / 0.5352 GB, free: 5.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1367, allocations: 5.406 kB / 0.5352 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.59e-06/0.1367, allocations: 0 / 0.5352 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.1367, allocations: 0 / 0.5352 GB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.1378, allocations: 127.7 kB / 0.5354 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.179e-06/0.1378, allocations: 0 / 0.5354 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.1385, allocations: 55.94 kB / 0.5354 GB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/0.1386, allocations: 27.92 kB / 0.5354 GB, free: 5.434 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.0002088/0.1389, allocations: 121.8 kB / 0.5356 GB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.139, allocations: 7.906 kB / 0.5356 GB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.453e-05/0.139, allocations: 7.969 kB / 0.5356 GB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.009e-06/0.1391, allocations: 4 kB / 0.5356 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.263e-06/0.1391, allocations: 0 / 0.5356 GB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.182e-06/0.1391, allocations: 3.984 kB / 0.5356 GB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/0.143, allocations: 1.102 MB / 0.5367 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.348e-06/0.143, allocations: 0 / 0.5367 GB, free: 4.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001392/0.1444, allocations: 119.8 kB / 0.5368 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.892e-06/0.1445, allocations: 0 / 0.5368 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.1446, allocations: 27.92 kB / 0.5368 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.905e-06/0.1447, allocations: 0 / 0.5368 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.982e-06/0.1447, allocations: 4.047 kB / 0.5368 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00561/0.1503, allocations: 0.8736 MB / 0.5377 GB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.1507, allocations: 121.1 kB / 0.5378 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.1509, allocations: 4 kB / 0.5378 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.1524, allocations: 59.94 kB / 0.5378 GB, free: 2.828 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.1526, allocations: 27.88 kB / 0.5379 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.1527, allocations: 27.94 kB / 0.5379 GB, free: 2.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.085e-05/0.1528, allocations: 87.44 kB / 0.538 GB, free: 2.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.57e-07/0.1528, allocations: 0 / 0.538 GB, free: 2.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009134/0.1538, allocations: 56 kB / 0.538 GB, free: 2.633 MB / 378.7 MB 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.0003561/0.1542, allocations: 103.2 kB / 0.5381 GB, free: 2.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.1576, allocations: 483.4 kB / 0.5386 GB, free: 2.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.1576, allocations: 4 kB / 0.5386 GB, free: 2.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.1592, allocations: 243.7 kB / 0.5388 GB, free: 1.809 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.1595, allocations: 15.94 kB / 0.5388 GB, free: 1.793 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/0.1648, allocations: 0.8656 MB / 0.5397 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1652, allocations: 0.697 MB / 0.5404 GB, free: 176 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000984/0.1662, allocations: 92.66 kB / 0.5404 GB, free: 84 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.1666, allocations: 55.3 kB / 0.5405 GB, free: 28 kB / 378.7 MB Notification: Performance of SimCode: time 1.455e-06/0.1666, allocations: 0 / 0.5405 GB, free: 28 kB / 378.7 MB Notification: Performance of Templates: time 0.00795/0.1745, allocations: 3.232 MB / 0.5437 GB, free: 12.79 MB / 394.7 MB