Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001417, allocations: 183.8 kB / 15.77 MB, free: 5.996 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.6864/0.6864, allocations: 82.93 MB / 99.42 MB, free: 3.371 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.183/2.183, allocations: 205.4 MB / 325.4 MB, free: 3.605 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.001563/0.001563, allocations: 97.7 kB / 393.6 MB, free: 15.36 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007877/0.000788, allocations: 27.98 kB / 471.6 MB, free: 66.62 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09145, allocations: 67.44 MB / 0.5264 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0007417/0.09224, allocations: 353.9 kB / 0.5267 GB, free: 14.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.09457, allocations: 1.43 MB / 0.5281 GB, free: 13.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/0.09465, allocations: 4 kB / 0.5281 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.386e-05/0.09467, allocations: 3.938 kB / 0.5281 GB, free: 13.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.09476, allocations: 7.984 kB / 0.5281 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.09518, allocations: 90.2 kB / 0.5282 GB, free: 13.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 5.261e-05/0.09525, allocations: 15.97 kB / 0.5282 GB, free: 13.24 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.09531, allocations: 8 kB / 0.5282 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.011e-05/0.09536, allocations: 15.92 kB / 0.5282 GB, free: 13.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.09543, allocations: 19.91 kB / 0.5283 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.09546, allocations: 0 / 0.5283 GB, free: 13.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006074/0.09608, allocations: 311.5 kB / 0.5286 GB, free: 12.89 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.09611, allocations: 7.984 kB / 0.5286 GB, free: 12.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.09616, allocations: 25.7 kB / 0.5286 GB, free: 12.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.09646, allocations: 148 kB / 0.5287 GB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.09648, allocations: 0 / 0.5287 GB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.82e-06/0.09649, allocations: 0 / 0.5287 GB, free: 12.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.795e-06/0.09651, allocations: 7.938 kB / 0.5287 GB, free: 12.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005391/0.09706, allocations: 363.2 kB / 0.5291 GB, free: 12.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.09712, allocations: 16.02 kB / 0.5291 GB, free: 12.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/0.09755, allocations: 71.83 kB / 0.5292 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.09775, allocations: 163.1 kB / 0.5293 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.09778, allocations: 8 kB / 0.5293 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.09781, allocations: 4 kB / 0.5293 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.09814, allocations: 81.59 kB / 0.5294 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.09817, allocations: 0 / 0.5294 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.0982, allocations: 4 kB / 0.5294 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.352e-06/0.09822, allocations: 4 kB / 0.5294 GB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.09867, allocations: 87.91 kB / 0.5295 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002321/0.09892, allocations: 165.5 kB / 0.5297 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.09961, allocations: 150.5 kB / 0.5298 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.09966, allocations: 0 / 0.5298 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.0997, allocations: 30.56 kB / 0.5298 GB, free: 11.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.213e-06/0.09971, allocations: 0 / 0.5298 GB, free: 11.41 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=9): time 0.005127/0.1049, allocations: 0.9536 MB / 0.5308 GB, free: 10.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.1049, allocations: 59.41 kB / 0.5308 GB, free: 10.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1051, allocations: 117.9 kB / 0.5309 GB, free: 10.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1051, allocations: 29.64 kB / 0.531 GB, free: 10.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.1052, allocations: 88.12 kB / 0.531 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.1053, allocations: 27.56 kB / 0.5311 GB, free: 10.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.157e-05/0.1053, allocations: 0 / 0.5311 GB, free: 10.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.1055, allocations: 322.8 kB / 0.5314 GB, free: 9.781 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.106, allocations: 119.8 kB / 0.5315 GB, free: 9.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.1066, allocations: 115.9 kB / 0.5316 GB, free: 9.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.1071, allocations: 115.8 kB / 0.5317 GB, free: 9.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1071, allocations: 0 / 0.5317 GB, free: 9.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001231/0.1084, allocations: 281.5 kB / 0.532 GB, free: 9.156 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.1084, allocations: 11.95 kB / 0.532 GB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.1084, allocations: 7.938 kB / 0.532 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1085, allocations: 0 / 0.532 GB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004033/0.1089, allocations: 67.94 kB / 0.5321 GB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.917e-06/0.1089, allocations: 0 / 0.5321 GB, free: 9.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.1092, allocations: 47.95 kB / 0.5321 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.1092, allocations: 0 / 0.5321 GB, free: 9.023 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 (9): * Single equations (assignments): 9 * 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.0001245/0.1094, allocations: 117.8 kB / 0.5322 GB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.1094, allocations: 7.906 kB / 0.5322 GB, free: 8.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.1095, allocations: 12.33 kB / 0.5322 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.815e-06/0.1095, allocations: 0 / 0.5322 GB, free: 8.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.1095, allocations: 4 kB / 0.5322 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.317e-06/0.1095, allocations: 0 / 0.5322 GB, free: 8.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.1117, allocations: 0.6687 MB / 0.5329 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.476e-06/0.1117, allocations: 0 / 0.5329 GB, free: 8.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/0.1121, allocations: 68.28 kB / 0.533 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.641e-06/0.1121, allocations: 0 / 0.533 GB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1121, allocations: 4 kB / 0.533 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.848e-06/0.1121, allocations: 7.938 kB / 0.533 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.945e-06/0.1121, allocations: 3.984 kB / 0.533 GB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.1134, allocations: 408.4 kB / 0.5334 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.1135, allocations: 85.02 kB / 0.5334 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.1135, allocations: 0 / 0.5334 GB, free: 7.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.1138, allocations: 51.95 kB / 0.5335 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.1139, allocations: 11.94 kB / 0.5335 GB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.1139, allocations: 11.92 kB / 0.5335 GB, free: 7.453 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.298e-05/0.114, allocations: 87.28 kB / 0.5336 GB, free: 7.367 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.609e-06/0.114, allocations: 0 / 0.5336 GB, free: 7.367 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003995/0.1144, allocations: 47.92 kB / 0.5336 GB, free: 7.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * 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.0002482/0.1147, allocations: 127.2 kB / 0.5338 GB, free: 7.188 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1159, allocations: 243.7 kB / 0.534 GB, free: 6.949 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.113e-06/0.1159, allocations: 4 kB / 0.534 GB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.1165, allocations: 128 kB / 0.5341 GB, free: 6.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.1167, allocations: 11.27 kB / 0.5341 GB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.1185, allocations: 476.2 kB / 0.5346 GB, free: 6.316 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.1189, allocations: 0.6926 MB / 0.5353 GB, free: 5.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001545/0.1191, allocations: 16.67 kB / 0.5353 GB, free: 5.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.703e-05/0.1192, allocations: 27.42 kB / 0.5353 GB, free: 5.551 MB / 378.7 MB Notification: Performance of SimCode: time 1.57e-06/0.1192, allocations: 0 / 0.5353 GB, free: 5.551 MB / 378.7 MB Notification: Performance of Templates: time 0.005061/0.1243, allocations: 1.552 MB / 0.5368 GB, free: 4 MB / 378.7 MB