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.002424/0.002424, allocations: 354.5 kB / 15.94 MB, free: 6.207 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.331/1.331, allocations: 165.9 MB / 182.5 MB, free: 5.93 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.167/4.167, allocations: 410.8 MB / 0.5995 GB, free: 2.184 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.001793/0.001793, allocations: 181.8 kB / 0.6662 GB, free: 14.05 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004566/0.0004568, allocations: 12 kB / 0.7423 GB, free: 32 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.411, allocations: 67.45 MB / 0.8082 GB, free: 245.3 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009112/0.412, allocations: 0.4909 MB / 0.8086 GB, free: 245.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001945/0.4139, allocations: 1.439 MB / 0.81 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.414, allocations: 0 / 0.81 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.414, allocations: 9.453 kB / 0.8101 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.071e-05/0.4141, allocations: 0.9062 kB / 0.8101 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.4146, allocations: 108.8 kB / 0.8102 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.4146, allocations: 42.83 kB / 0.8102 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.4147, allocations: 4.297 kB / 0.8102 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.4148, allocations: 26.02 kB / 0.8102 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.743e-05/0.4149, allocations: 32.91 kB / 0.8103 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4149, allocations: 4.375 kB / 0.8103 GB, free: 244.3 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005816/0.4155, allocations: 310.5 kB / 0.8106 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.4155, allocations: 15.89 kB / 0.8106 GB, free: 244.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.4156, allocations: 33.36 kB / 0.8106 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.4159, allocations: 145.3 kB / 0.8107 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.258e-06/0.4159, allocations: 5.25 kB / 0.8107 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.401e-06/0.4159, allocations: 0 / 0.8107 GB, free: 244.1 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.4159, allocations: 0 / 0.8107 GB, free: 244.1 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005563/0.4165, allocations: 395.3 kB / 0.8111 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4165, allocations: 11.84 kB / 0.8111 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005083/0.417, allocations: 83.17 kB / 0.8112 GB, free: 243.7 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.632e-05/0.4171, allocations: 172.4 kB / 0.8114 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.144e-05/0.4172, allocations: 7.688 kB / 0.8114 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.4172, allocations: 5.5 kB / 0.8114 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.4177, allocations: 120.3 kB / 0.8115 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4177, allocations: 2.062 kB / 0.8115 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.4177, allocations: 5.375 kB / 0.8115 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.286e-06/0.4178, allocations: 2.922 kB / 0.8115 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000588/0.4183, allocations: 127.3 kB / 0.8116 GB, free: 243.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006213/0.419, allocations: 337.2 kB / 0.812 GB, free: 243.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008508/0.4199, allocations: 181.9 kB / 0.8121 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.4202, allocations: 69.45 kB / 0.8122 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4202, allocations: 1.922 kB / 0.8122 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.4202, allocations: 33.62 kB / 0.8122 GB, free: 243.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 3.06e-06/0.4203, allocations: 3.938 kB / 0.8122 GB, free: 243.1 MB / 0.5886 GB 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.02233/0.4426, allocations: 3.186 MB / 0.8153 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.4427, allocations: 54.69 kB / 0.8154 GB, free: 242.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.4427, allocations: 105 kB / 0.8155 GB, free: 242.2 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.4428, allocations: 27.17 kB / 0.8155 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.4429, allocations: 88.62 kB / 0.8156 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.443, allocations: 40.52 kB / 0.8157 GB, free: 242 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.9e-05/0.443, allocations: 4 kB / 0.8157 GB, free: 242 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/0.4431, allocations: 316.2 kB / 0.816 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009132/0.444, allocations: 218.4 kB / 0.8162 GB, free: 241.7 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008719/0.4449, allocations: 215.4 kB / 0.8164 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008989/0.4458, allocations: 223.5 kB / 0.8166 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.021e-06/0.4458, allocations: 0 / 0.8166 GB, free: 241.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002075/0.4479, allocations: 0.5218 MB / 0.8171 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.448, allocations: 4.781 kB / 0.8171 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.07e-06/0.448, allocations: 0 / 0.8171 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.448, allocations: 2.547 kB / 0.8171 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.449, allocations: 118.6 kB / 0.8172 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.4491, allocations: 5.25 kB / 0.8172 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006934/0.4498, allocations: 57.48 kB / 0.8173 GB, free: 241.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/0.4499, allocations: 32.38 kB / 0.8173 GB, free: 241.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 (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.0001679/0.45, allocations: 119 kB / 0.8174 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.4502, allocations: 10.94 kB / 0.8174 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.4502, allocations: 10.36 kB / 0.8174 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-06/0.4502, allocations: 2 kB / 0.8174 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.245e-06/0.4502, allocations: 0 / 0.8174 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.704e-06/0.4503, allocations: 1.406 kB / 0.8174 GB, free: 241.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.4531, allocations: 1.098 MB / 0.8185 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.357e-06/0.4531, allocations: 0 / 0.8185 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.4541, allocations: 128 kB / 0.8186 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.33e-06/0.4542, allocations: 5.406 kB / 0.8186 GB, free: 240.6 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/0.4543, allocations: 22.61 kB / 0.8187 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.475e-06/0.4543, allocations: 3.953 kB / 0.8187 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.028e-06/0.4543, allocations: 1.188 kB / 0.8187 GB, free: 240.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/0.4573, allocations: 0.8698 MB / 0.8195 GB, free: 240 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.4575, allocations: 112.6 kB / 0.8196 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.166e-05/0.4576, allocations: 1.531 kB / 0.8196 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008043/0.4584, allocations: 61.97 kB / 0.8197 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.4585, allocations: 30.52 kB / 0.8197 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.4586, allocations: 27.02 kB / 0.8197 GB, free: 239.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.4586, allocations: 77.91 kB / 0.8198 GB, free: 239.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.04e-07/0.4587, allocations: 5.312 kB / 0.8198 GB, free: 239.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005421/0.4592, allocations: 54.72 kB / 0.8199 GB, free: 239.8 MB / 0.5886 GB 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.0002001/0.4594, allocations: 116.5 kB / 0.82 GB, free: 239.7 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00189/0.4613, allocations: 473.9 kB / 0.8204 GB, free: 239.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.64e-06/0.4614, allocations: 1.156 kB / 0.8204 GB, free: 239.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009374/0.4623, allocations: 254.5 kB / 0.8207 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.4628, allocations: 6.688 kB / 0.8207 GB, free: 239.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008118/0.4709, allocations: 0.8715 MB / 0.8215 GB, free: 238.8 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.4711, allocations: 0.6965 MB / 0.8222 GB, free: 238.1 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001813/0.473, allocations: 87.48 kB / 0.8223 GB, free: 238 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/0.4736, allocations: 55.73 kB / 0.8224 GB, free: 238 MB / 0.5886 GB Notification: Performance of SimCode: time 2.558e-06/0.4736, allocations: 5.219 kB / 0.8224 GB, free: 238 MB / 0.5886 GB Notification: Performance of Templates: time 0.01262/0.4863, allocations: 3.236 MB / 0.8255 GB, free: 236.3 MB / 0.5886 GB