Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|y_comp|der_y|der_y_comp|der_err|err",fileNamePrefix="Buildings_latest_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.001025/0.001025, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 180.5 kB / 16.92 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.793/2.793, allocations: 462.6 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.000343, allocations: 12.56 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2984, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001007/0.2994, allocations: 0.5114 MB / 1.06 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3016, allocations: 1.493 MB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.3017, allocations: 0 / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.432e-05/0.3018, allocations: 3.938 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/0.3018, allocations: 0 / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.3024, allocations: 115.7 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.415e-05/0.3025, allocations: 47.84 kB / 1.061 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.311e-05/0.3025, allocations: 4 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.3026, allocations: 27.92 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.3027, allocations: 27.89 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3027, allocations: 4 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005017/0.3032, allocations: 319.4 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.3033, allocations: 19.91 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.3033, allocations: 53.56 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.3036, allocations: 143.8 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3036, allocations: 0 / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3036, allocations: 0 / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3036, allocations: 0 / 1.062 GB, free: 2.145 MB / 0.8106 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.0006696/0.3043, allocations: 393.2 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3043, allocations: 19.97 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004926/0.3048, allocations: 80.84 kB / 1.062 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.305, allocations: 176.2 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.305, allocations: 4.375 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.305, allocations: 8.375 kB / 1.063 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.3055, allocations: 125.9 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3055, allocations: 0 / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3055, allocations: 4 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3055, allocations: 4 kB / 1.063 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.306, allocations: 123.9 kB / 1.063 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.3067, allocations: 344.6 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.3074, allocations: 182.4 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.3076, allocations: 68.75 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3077, allocations: 4 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.3077, allocations: 30.56 kB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3077, allocations: 3.938 kB / 1.064 GB, free: 456 kB / 0.8106 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.01939/0.3271, allocations: 3.184 MB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.3272, allocations: 55.34 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.015e-05/0.3273, allocations: 101.9 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.3274, allocations: 29.7 kB / 1.067 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3275, allocations: 95.97 kB / 1.067 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.736e-05/0.3275, allocations: 39.44 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.3276, allocations: 17.72 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3277, allocations: 314.8 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007179/0.3285, allocations: 215.8 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006931/0.3292, allocations: 215.8 kB / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.3306, allocations: 450.7 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3306, allocations: 0 / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001636/0.3323, allocations: 0.5205 MB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.3323, allocations: 9.25 kB / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3323, allocations: 0 / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3323, allocations: 0 / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008774/0.3332, allocations: 119.9 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3332, allocations: 7.875 kB / 1.069 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/0.3339, allocations: 59.94 kB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.334, allocations: 23.94 kB / 1.069 GB, free: 10.88 MB / 0.8262 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.0001823/0.3342, allocations: 121.8 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.3342, allocations: 4 kB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.824e-05/0.3343, allocations: 11.95 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3343, allocations: 0 / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3343, allocations: 7.938 kB / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3343, allocations: 0 / 1.069 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.3367, allocations: 1.094 MB / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3367, allocations: 0 / 1.07 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008485/0.3376, allocations: 127.7 kB / 1.07 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.3376, allocations: 8.125 kB / 1.07 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.3377, allocations: 23.94 kB / 1.07 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3377, allocations: 4 kB / 1.07 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3377, allocations: 0 / 1.07 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.3402, allocations: 0.8699 MB / 1.071 GB, free: 8.469 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3403, allocations: 120.9 kB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.3404, allocations: 0 / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000728/0.3411, allocations: 64 kB / 1.071 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.3412, allocations: 27.86 kB / 1.071 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.3413, allocations: 27.92 kB / 1.071 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.3414, allocations: 79.28 kB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3414, allocations: 0 / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004364/0.3418, allocations: 52 kB / 1.071 GB, free: 8.086 MB / 0.8262 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.000274/0.3421, allocations: 123.2 kB / 1.071 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001576/0.3437, allocations: 475.5 kB / 1.072 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3437, allocations: 0 / 1.072 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007675/0.3445, allocations: 247.7 kB / 1.072 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3448, allocations: 5.484 kB / 1.072 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/0.3494, allocations: 0.9089 MB / 1.073 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.3498, allocations: 0.6926 MB / 1.074 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000388/0.3502, allocations: 75.23 kB / 1.074 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3502, allocations: 3.938 kB / 1.074 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of Templates: time 0.006575/0.3568, allocations: 3.797 MB / 1.078 GB, free: 1.695 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)