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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00153/0.001535, allocations: 100.1 kB / 15.88 MB, free: 12 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.001829/0.001829, allocations: 199.4 kB / 16.79 MB, free: 6.809 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.365/1.365, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 63.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6846/0.6859, allocations: 140.3 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001884/0.6878, allocations: 0.8445 MB / 0.9504 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.6893, allocations: 1.492 MB / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.6893, allocations: 0 / 0.9519 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.6894, allocations: 3.938 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.038e-05/0.6894, allocations: 1.375 kB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.6898, allocations: 118 kB / 0.952 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.6899, allocations: 43.28 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.6899, allocations: 6.75 kB / 0.952 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.597e-05/0.69, allocations: 26.91 kB / 0.9521 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.6901, allocations: 33.45 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.6901, allocations: 4.125 kB / 0.9521 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.6905, allocations: 316.4 kB / 0.9524 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.6905, allocations: 11.05 kB / 0.9524 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.6905, allocations: 25.83 kB / 0.9524 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.6908, allocations: 147.3 kB / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6908, allocations: 0 / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.32e-07/0.6908, allocations: 1.281 kB / 0.9526 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.6908, allocations: 0 / 0.9526 GB, free: 6.855 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.0005519/0.6913, allocations: 407.5 kB / 0.953 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6914, allocations: 13.42 kB / 0.953 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004656/0.6919, allocations: 65.98 kB / 0.953 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.262e-05/0.6919, allocations: 179 kB / 0.9532 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.692, allocations: 11.14 kB / 0.9532 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.496e-05/0.692, allocations: 12.53 kB / 0.9532 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003517/0.6924, allocations: 109.9 kB / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6924, allocations: 0 / 0.9533 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.6924, allocations: 5.562 kB / 0.9533 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6924, allocations: 0.7812 kB / 0.9534 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004536/0.6929, allocations: 99.73 kB / 0.9534 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.6934, allocations: 337.9 kB / 0.9538 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000618/0.694, allocations: 151.8 kB / 0.9539 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.6942, allocations: 58.56 kB / 0.954 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.6943, allocations: 0 / 0.954 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.6943, allocations: 35.91 kB / 0.954 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.6943, allocations: 1.438 kB / 0.954 GB, free: 5.586 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.01924/0.7135, allocations: 2.839 MB / 0.9568 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.7136, allocations: 60.7 kB / 0.9568 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.821e-05/0.7137, allocations: 99.42 kB / 0.9569 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.7137, allocations: 27.05 kB / 0.957 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.345e-05/0.7138, allocations: 97.36 kB / 0.957 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.7138, allocations: 36.56 kB / 0.9571 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.714, allocations: 72.83 kB / 0.9572 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.7141, allocations: 316.9 kB / 0.9575 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006264/0.7147, allocations: 192.1 kB / 0.9576 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.7153, allocations: 190.3 kB / 0.9578 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.7166, allocations: 393.3 kB / 0.9582 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.7166, allocations: 3.938 kB / 0.9582 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001498/0.7181, allocations: 477.9 kB / 0.9587 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.7181, allocations: 13.42 kB / 0.9587 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.7182, allocations: 0 / 0.9587 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7182, allocations: 0.9688 kB / 0.9587 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008514/0.719, allocations: 102 kB / 0.9588 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.7191, allocations: 3.938 kB / 0.9588 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000624/0.7197, allocations: 46.31 kB / 0.9588 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.76e-05/0.7198, allocations: 22.53 kB / 0.9588 GB, free: 2.445 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.0001335/0.7199, allocations: 125.1 kB / 0.959 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.72, allocations: 6.984 kB / 0.959 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.72, allocations: 12.59 kB / 0.959 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.7201, allocations: 1.781 kB / 0.959 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.7201, allocations: 3.938 kB / 0.959 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7201, allocations: 1.062 kB / 0.959 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.7221, allocations: 1.06 MB / 0.96 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7221, allocations: 0 / 0.96 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/0.7229, allocations: 109.3 kB / 0.9601 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.7229, allocations: 5.188 kB / 0.9601 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.723, allocations: 24.59 kB / 0.9601 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.723, allocations: 0 / 0.9601 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.723, allocations: 1 kB / 0.9601 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.7252, allocations: 0.7941 MB / 0.9609 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.7253, allocations: 119 kB / 0.961 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.006e-05/0.7254, allocations: 1.156 kB / 0.961 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007008/0.7261, allocations: 46.81 kB / 0.9611 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.7262, allocations: 35.08 kB / 0.9611 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.7263, allocations: 25.7 kB / 0.9611 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.591e-05/0.7263, allocations: 78.75 kB / 0.9612 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7263, allocations: 0 / 0.9612 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003957/0.7267, allocations: 55.66 kB / 0.9613 GB, free: 0.5391 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.000195/0.7269, allocations: 111.7 kB / 0.9614 GB, free: 452 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001426/0.7284, allocations: 432.2 kB / 0.9618 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7284, allocations: 0 / 0.9618 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007073/0.7291, allocations: 218.5 kB / 0.962 GB, free: 124 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.7295, allocations: 7.938 kB / 0.962 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.734, allocations: 0.8163 MB / 0.9628 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/0.7342, allocations: 0.6919 MB / 0.9635 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.7346, allocations: 80.11 kB / 0.9636 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.7347, allocations: 0 / 0.9636 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of Templates: time 0.006232/0.7409, allocations: 3.762 MB / 0.9672 GB, free: 12.76 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)