Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001426/0.001426, allocations: 112.7 kB / 15.99 MB, free: 5.914 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.001493/0.001494, allocations: 192.1 kB / 16.91 MB, free: 5.758 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.341/2.341, allocations: 390.2 MB / 0.665 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001416, allocations: 67.91 kB / 0.8127 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6613/0.6627, allocations: 140.3 MB / 0.9498 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001915/0.6647, allocations: 0.8421 MB / 0.9506 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.6661, allocations: 1.474 MB / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.6662, allocations: 0 / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.6662, allocations: 0 / 0.952 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.415e-05/0.6663, allocations: 9.312 kB / 0.9521 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004607/0.6668, allocations: 120.9 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.6668, allocations: 44.72 kB / 0.9522 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.752e-05/0.6669, allocations: 10.73 kB / 0.9522 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.687e-05/0.667, allocations: 28.3 kB / 0.9522 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.505e-05/0.667, allocations: 37.45 kB / 0.9523 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.667, allocations: 4.125 kB / 0.9523 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.6674, allocations: 314.3 kB / 0.9526 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.6674, allocations: 18.38 kB / 0.9526 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.6675, allocations: 22.83 kB / 0.9526 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.6677, allocations: 142.7 kB / 0.9528 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.6677, allocations: 5.406 kB / 0.9528 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6677, allocations: 3.938 kB / 0.9528 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.6677, allocations: 0 / 0.9528 GB, free: 6.875 MB / 0.7169 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.0005801/0.6683, allocations: 407.7 kB / 0.9532 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.6684, allocations: 9.906 kB / 0.9532 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.6688, allocations: 69.34 kB / 0.9532 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.89e-05/0.6689, allocations: 175.1 kB / 0.9534 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.6689, allocations: 7.094 kB / 0.9534 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.669, allocations: 4.688 kB / 0.9534 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.6693, allocations: 118.5 kB / 0.9535 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.6693, allocations: 0 / 0.9535 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.6693, allocations: 1.25 kB / 0.9535 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.6694, allocations: 1.312 kB / 0.9535 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.6698, allocations: 106.7 kB / 0.9536 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.6703, allocations: 338.1 kB / 0.954 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/0.6709, allocations: 155.9 kB / 0.9541 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.6711, allocations: 54.81 kB / 0.9542 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.6712, allocations: 1.406 kB / 0.9542 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.6712, allocations: 36 kB / 0.9542 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.6712, allocations: 0 / 0.9542 GB, free: 5.605 MB / 0.7169 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.01834/0.6895, allocations: 2.835 MB / 0.957 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.6896, allocations: 56.44 kB / 0.957 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.109e-05/0.6897, allocations: 103.5 kB / 0.9571 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.6897, allocations: 29.7 kB / 0.9571 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.029e-05/0.6898, allocations: 86.89 kB / 0.9572 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.507e-05/0.6898, allocations: 39.55 kB / 0.9573 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/0.69, allocations: 73.02 kB / 0.9573 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.698e-05/0.6901, allocations: 321 kB / 0.9576 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006002/0.6907, allocations: 188.2 kB / 0.9578 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.6913, allocations: 194.2 kB / 0.958 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.6925, allocations: 393.1 kB / 0.9584 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.6925, allocations: 0 / 0.9584 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001422/0.6939, allocations: 477.2 kB / 0.9588 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6939, allocations: 4.469 kB / 0.9588 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.694, allocations: 0.75 kB / 0.9588 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.694, allocations: 0.75 kB / 0.9588 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008013/0.6948, allocations: 110.1 kB / 0.9589 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6948, allocations: 3.938 kB / 0.9589 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.6954, allocations: 54.14 kB / 0.959 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.6955, allocations: 21.91 kB / 0.959 GB, free: 2.469 MB / 0.7169 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.0001405/0.6956, allocations: 117.6 kB / 0.9591 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.271e-05/0.6957, allocations: 2.719 kB / 0.9591 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.629e-05/0.6958, allocations: 13.28 kB / 0.9591 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.6958, allocations: 5.219 kB / 0.9592 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.6958, allocations: 5.562 kB / 0.9592 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6958, allocations: 3.984 kB / 0.9592 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001991/0.6978, allocations: 1.055 MB / 0.9602 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.6978, allocations: 5.219 kB / 0.9602 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000826/0.6987, allocations: 104.7 kB / 0.9603 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6987, allocations: 4.906 kB / 0.9603 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/0.6987, allocations: 25.08 kB / 0.9603 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6987, allocations: 3.938 kB / 0.9603 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.6987, allocations: 1.031 kB / 0.9603 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/0.701, allocations: 0.7859 MB / 0.9611 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.7012, allocations: 123.8 kB / 0.9612 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-05/0.7013, allocations: 5.594 kB / 0.9612 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006912/0.702, allocations: 46.84 kB / 0.9613 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.7021, allocations: 25.7 kB / 0.9613 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.034e-05/0.7021, allocations: 22.75 kB / 0.9613 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.888e-05/0.7022, allocations: 90.89 kB / 0.9614 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7022, allocations: 0 / 0.9614 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004063/0.7026, allocations: 50.5 kB / 0.9614 GB, free: 0.5703 MB / 0.7169 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.0002226/0.7028, allocations: 112.9 kB / 0.9616 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.7043, allocations: 435.7 kB / 0.962 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.7043, allocations: 1.188 kB / 0.962 GB, free: 260 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006641/0.705, allocations: 221.3 kB / 0.9622 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.7053, allocations: 8.312 kB / 0.9622 GB, free: 144 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/0.7097, allocations: 0.8124 MB / 0.963 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.71, allocations: 0.6914 MB / 0.9637 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.7104, allocations: 79.36 kB / 0.9637 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/0.7105, allocations: 1.062 kB / 0.9637 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of Templates: time 0.007904/0.7184, allocations: 3.784 MB / 0.9674 GB, free: 12.77 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)