Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001257/0.001257, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001385/0.001385, allocations: 200.7 kB / 16.91 MB, free: 6.195 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 437 MB / 0.7107 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 0.8694 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6484, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001884/0.6503, allocations: 0.849 MB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.652, allocations: 1.474 MB / 1.02 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.122e-05/0.652, allocations: 3.938 kB / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.658e-05/0.6521, allocations: 0 / 1.02 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.283e-05/0.6521, allocations: 3.938 kB / 1.02 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004796/0.6526, allocations: 123.7 kB / 1.02 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.6527, allocations: 51.91 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.6528, allocations: 7.984 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.635e-05/0.6528, allocations: 19.92 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.6529, allocations: 35.89 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.6529, allocations: 4 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004169/0.6533, allocations: 319.4 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.6534, allocations: 19.83 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.6534, allocations: 19.92 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.6536, allocations: 151.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6537, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6537, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6537, allocations: 0 / 1.02 GB, free: 15.69 MB / 0.7794 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.0006394/0.6543, allocations: 405.2 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.6544, allocations: 8.031 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004491/0.6548, allocations: 72.84 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.6549, allocations: 172.2 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.655, allocations: 4.375 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.655, allocations: 12.38 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.6554, allocations: 109.9 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.6554, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.6554, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.6554, allocations: 7.938 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.6559, allocations: 107.9 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.6564, allocations: 332.7 kB / 1.022 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006078/0.6571, allocations: 154.4 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.6573, allocations: 60.81 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.6573, allocations: 0 / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.6574, allocations: 30.56 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.6574, allocations: 3.938 kB / 1.022 GB, free: 14.08 MB / 0.7794 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.01932/0.6767, allocations: 2.832 MB / 1.025 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.6768, allocations: 55.34 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.545e-05/0.6769, allocations: 97.84 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.6769, allocations: 29.7 kB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.677, allocations: 92.08 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.677, allocations: 51.31 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.6772, allocations: 73.58 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.6773, allocations: 314.8 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.678, allocations: 195.8 kB / 1.026 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000632/0.6786, allocations: 183.8 kB / 1.026 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.6799, allocations: 404.3 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6799, allocations: 0 / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001504/0.6814, allocations: 473.1 kB / 1.027 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.6815, allocations: 8 kB / 1.027 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6815, allocations: 4 kB / 1.027 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.6815, allocations: 0 / 1.027 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008665/0.6824, allocations: 111.7 kB / 1.027 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.6824, allocations: 7.938 kB / 1.027 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.683, allocations: 43.94 kB / 1.027 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.6831, allocations: 23.94 kB / 1.027 GB, free: 8.98 MB / 0.7794 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.0001781/0.6833, allocations: 110.4 kB / 1.027 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.114e-05/0.6834, allocations: 8 kB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.959e-05/0.6834, allocations: 15.95 kB / 1.027 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.6835, allocations: 4 kB / 1.027 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6835, allocations: 3.938 kB / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.6835, allocations: 0 / 1.027 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002178/0.6857, allocations: 1.054 MB / 1.028 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6857, allocations: 4 kB / 1.028 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008836/0.6866, allocations: 99.8 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.6866, allocations: 7.922 kB / 1.028 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.6866, allocations: 27.94 kB / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6867, allocations: 0 / 1.028 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.6867, allocations: 4 kB / 1.028 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.689, allocations: 0.7879 MB / 1.029 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000159/0.6892, allocations: 124.9 kB / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.611e-05/0.6893, allocations: 4 kB / 1.029 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007325/0.69, allocations: 48 kB / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.6901, allocations: 23.92 kB / 1.029 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.06e-05/0.6902, allocations: 27.94 kB / 1.029 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.553e-05/0.6902, allocations: 87.44 kB / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6902, allocations: 0 / 1.029 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003911/0.6906, allocations: 56 kB / 1.029 GB, free: 6.336 MB / 0.7794 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.0002177/0.6909, allocations: 107.2 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001482/0.6923, allocations: 435.5 kB / 1.03 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6924, allocations: 0 / 1.03 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.6931, allocations: 223.7 kB / 1.03 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.6935, allocations: 11.94 kB / 1.03 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004463/0.6979, allocations: 0.8083 MB / 1.031 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.6982, allocations: 0.6923 MB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.6986, allocations: 79.23 kB / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of SimCode: time 7.71e-07/0.6987, allocations: 0 / 1.031 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.006126/0.7048, allocations: 3.777 MB / 1.035 GB, free: 148 kB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)