Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001541/0.001541, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001501/0.001501, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.463/1.463, allocations: 222.9 MB / 240.6 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.815/2.815, allocations: 469.8 MB / 0.7427 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.25 kB / 0.9087 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.342, allocations: 159.2 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002175/0.3442, allocations: 0.852 MB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.3464, allocations: 1.478 MB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.3465, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.3466, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.701e-05/0.3466, allocations: 4 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.3471, allocations: 119.7 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.006e-05/0.3472, allocations: 55.83 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.3473, allocations: 4 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.3474, allocations: 27.92 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.3474, allocations: 35.88 kB / 1.067 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3475, allocations: 4 kB / 1.067 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.3479, allocations: 311.4 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.705e-05/0.348, allocations: 23.91 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.348, allocations: 23.86 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.3483, allocations: 147.8 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3483, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3483, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3483, allocations: 0 / 1.067 GB, free: 11.47 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.0007446/0.349, allocations: 395.7 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3491, allocations: 16.03 kB / 1.068 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/0.3496, allocations: 72.75 kB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.3497, allocations: 172.2 kB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.3498, allocations: 8.375 kB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.3498, allocations: 12.36 kB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.3502, allocations: 106.5 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3503, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.3503, allocations: 4 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3503, allocations: 0 / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.3508, allocations: 105.5 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.3515, allocations: 336.5 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.3522, allocations: 162.4 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.3524, allocations: 52.81 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.3524, allocations: 3.938 kB / 1.069 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3525, allocations: 34.56 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3525, allocations: 4 kB / 1.069 GB, free: 9.852 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.01984/0.3723, allocations: 2.828 MB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.3724, allocations: 63.33 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3725, allocations: 93.86 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/0.3726, allocations: 37.7 kB / 1.072 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.738e-05/0.3727, allocations: 88.06 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/0.3728, allocations: 39.38 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.3729, allocations: 65.58 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3731, allocations: 322.8 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.3738, allocations: 187.9 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007087/0.3745, allocations: 203.7 kB / 1.072 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.3759, allocations: 393.4 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3759, allocations: 0 / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001604/0.3775, allocations: 474 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3775, allocations: 4 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3776, allocations: 3.984 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.3776, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/0.3785, allocations: 107.8 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.3785, allocations: 7.875 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.3792, allocations: 47.94 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.3793, allocations: 23.94 kB / 1.073 GB, free: 4.758 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.000212/0.3795, allocations: 113.8 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.239e-05/0.3796, allocations: 3.906 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.794e-05/0.3796, allocations: 19.95 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3796, allocations: 0 / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.3797, allocations: 3.938 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3797, allocations: 0 / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.3821, allocations: 1.047 MB / 1.075 GB, free: 3.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3821, allocations: 3.984 kB / 1.075 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009119/0.383, allocations: 103.8 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/0.383, allocations: 3.938 kB / 1.075 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.116e-05/0.3831, allocations: 31.94 kB / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3831, allocations: 0 / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3831, allocations: 416 / 1.075 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.3856, allocations: 0.7996 MB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.3858, allocations: 121 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.63e-05/0.3859, allocations: 4 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/0.3867, allocations: 48 kB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3868, allocations: 27.92 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.089e-05/0.3869, allocations: 23.92 kB / 1.076 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.696e-05/0.3869, allocations: 83.28 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3869, allocations: 0 / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004069/0.3874, allocations: 52 kB / 1.076 GB, free: 2.125 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.0002521/0.3876, allocations: 115.2 kB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001533/0.3892, allocations: 428.8 kB / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3892, allocations: 0 / 1.076 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007531/0.3899, allocations: 223.7 kB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.3903, allocations: 8 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.395, allocations: 0.8158 MB / 1.077 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3955, allocations: 0.6963 MB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.3959, allocations: 75.23 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.3959, allocations: 0 / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of Templates: time 0.006915/0.4028, allocations: 3.779 MB / 1.082 GB, free: 11.92 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)