Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009078/0.0009083, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006935/0.006935, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.848/2.848, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003642, allocations: 13.56 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3617, allocations: 162.2 MB / 1.074 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001115/0.3629, allocations: 0.4979 MB / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.365, allocations: 1.482 MB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.416e-05/0.3651, allocations: 0 / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.3651, allocations: 11.92 kB / 1.076 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.846e-05/0.3652, allocations: 4 kB / 1.076 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004675/0.3656, allocations: 107.7 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.259e-05/0.3657, allocations: 47.91 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.56e-05/0.3658, allocations: 11.98 kB / 1.076 GB, free: 5.297 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.3659, allocations: 35.83 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.757e-05/0.366, allocations: 27.91 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.366, allocations: 4 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000441/0.3664, allocations: 319.3 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.3665, allocations: 15.92 kB / 1.077 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.3665, allocations: 45.58 kB / 1.077 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.3668, allocations: 203.6 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3668, allocations: 4 kB / 1.077 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3669, allocations: 0 / 1.077 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.3669, allocations: 0 / 1.077 GB, free: 4.648 MB / 0.8262 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.0006707/0.3675, allocations: 391.7 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3676, allocations: 8.031 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00049/0.3681, allocations: 96.69 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3682, allocations: 168.3 kB / 1.078 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.3683, allocations: 4.375 kB / 1.078 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.3683, allocations: 12.31 kB / 1.078 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004183/0.3687, allocations: 129.9 kB / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3688, allocations: 0 / 1.078 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.3688, allocations: 4 kB / 1.078 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.3688, allocations: 3.938 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000522/0.3693, allocations: 119.9 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.37, allocations: 336.6 kB / 1.078 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.3707, allocations: 190.4 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.3709, allocations: 68.97 kB / 1.078 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.371, allocations: 3.984 kB / 1.078 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.371, allocations: 34.56 kB / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.371, allocations: 0 / 1.078 GB, free: 2.949 MB / 0.8262 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.01982/0.3908, allocations: 3.185 MB / 1.081 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.3909, allocations: 63.33 kB / 1.082 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.391, allocations: 93.86 kB / 1.082 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.3911, allocations: 29.7 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.3912, allocations: 92.06 kB / 1.082 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.3913, allocations: 39.38 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.687e-05/0.3913, allocations: 21.7 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3915, allocations: 314.8 kB / 1.082 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/0.3922, allocations: 219.8 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.3929, allocations: 215.8 kB / 1.083 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.3944, allocations: 441.8 kB / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3944, allocations: 0 / 1.083 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001662/0.3961, allocations: 0.5187 MB / 1.083 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3961, allocations: 8 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3961, allocations: 0 / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.3962, allocations: 4 kB / 1.083 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/0.3971, allocations: 123.8 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3971, allocations: 3.938 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.3978, allocations: 55.94 kB / 1.084 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.3979, allocations: 23.94 kB / 1.084 GB, free: 13.38 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.3981, allocations: 117.8 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.3982, allocations: 7.906 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.091e-05/0.3982, allocations: 15.95 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3982, allocations: 4 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3983, allocations: 3.938 kB / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3983, allocations: 0 / 1.084 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00249/0.4008, allocations: 1.098 MB / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.4008, allocations: 0 / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/0.4017, allocations: 123.7 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.4017, allocations: 4.031 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.4018, allocations: 31.88 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.4018, allocations: 0 / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4018, allocations: 4 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.4044, allocations: 0.862 MB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.4045, allocations: 121 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.371e-05/0.4046, allocations: 4 kB / 1.086 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.4054, allocations: 56 kB / 1.086 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4055, allocations: 31.92 kB / 1.086 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.4055, allocations: 31.92 kB / 1.086 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.779e-05/0.4056, allocations: 79.28 kB / 1.086 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.553e-06/0.4056, allocations: 0 / 1.086 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003975/0.406, allocations: 55.94 kB / 1.086 GB, free: 10.58 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002309/0.4063, allocations: 107.6 kB / 1.086 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.4079, allocations: 479.5 kB / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.4079, allocations: 0 / 1.087 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008111/0.4087, allocations: 251.7 kB / 1.087 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.4091, allocations: 8 kB / 1.087 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.4139, allocations: 0.8734 MB / 1.088 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4143, allocations: 0.6926 MB / 1.089 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006826/0.415, allocations: 92.67 kB / 1.089 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.4152, allocations: 59.3 kB / 1.089 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of SimCode: time 6.61e-07/0.4152, allocations: 0 / 1.089 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of Templates: time 0.007641/0.4229, allocations: 3.326 MB / 1.092 GB, free: 4.648 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)