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.001693/0.001693, allocations: 105.1 kB / 16.41 MB, free: 6.449 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.001852/0.001853, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.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.242/2.242, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 63.91 kB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9851/0.9875, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002148/0.9897, allocations: 0.775 MB / 1.089 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002047/0.9917, allocations: 1.472 MB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.9918, allocations: 1.125 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.9919, allocations: 4.453 kB / 1.091 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.824e-05/0.9919, allocations: 3.938 kB / 1.091 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006314/0.9926, allocations: 150.4 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.9927, allocations: 52 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.524e-05/0.9928, allocations: 7.984 kB / 1.091 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.9928, allocations: 32.55 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.768e-05/0.993, allocations: 30.7 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.993, allocations: 3.688 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005542/0.9935, allocations: 326.2 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.9936, allocations: 10.05 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.9936, allocations: 34.42 kB / 1.091 GB, free: 3.691 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.994, allocations: 207.8 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.994, allocations: 0.6094 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.463e-06/0.994, allocations: 0.7812 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.9941, allocations: 0 / 1.092 GB, free: 3.633 MB / 0.8575 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.0006491/0.9947, allocations: 399.4 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.9948, allocations: 9.641 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004829/0.9953, allocations: 72.33 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.292e-05/0.9954, allocations: 174 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.9954, allocations: 11.73 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.579e-05/0.9954, allocations: 4.812 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003877/0.9958, allocations: 107.5 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.9959, allocations: 4.688 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.789e-05/0.9959, allocations: 0.7812 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.9959, allocations: 5.5 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.9964, allocations: 103.1 kB / 1.093 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005903/0.997, allocations: 329.9 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.9977, allocations: 152.1 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.9979, allocations: 59.25 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.998, allocations: 0.8438 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.998, allocations: 39.62 kB / 1.093 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.998, allocations: 4.547 kB / 1.093 GB, free: 2.547 MB / 0.8575 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.01872/1.017, allocations: 2.842 MB / 1.096 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.017, allocations: 57.66 kB / 1.096 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/1.017, allocations: 101 kB / 1.096 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/1.017, allocations: 26.39 kB / 1.096 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/1.017, allocations: 91.48 kB / 1.096 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/1.017, allocations: 36.02 kB / 1.096 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001936/1.017, allocations: 78.11 kB / 1.096 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.935e-05/1.017, allocations: 317.3 kB / 1.097 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007603/1.018, allocations: 188.5 kB / 1.097 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007377/1.019, allocations: 193.3 kB / 1.097 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/1.02, allocations: 404 kB / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/1.02, allocations: 0 / 1.097 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00177/1.022, allocations: 472.9 kB / 1.098 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.022, allocations: 5.812 kB / 1.098 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.022, allocations: 8.75 kB / 1.098 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/1.022, allocations: 1.125 kB / 1.098 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/1.023, allocations: 101.9 kB / 1.098 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/1.023, allocations: 5.781 kB / 1.098 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/1.024, allocations: 45.05 kB / 1.098 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/1.024, allocations: 28.84 kB / 1.098 GB, free: 0.6914 MB / 0.8575 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.0001874/1.024, allocations: 121.3 kB / 1.098 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.142e-05/1.024, allocations: 6.844 kB / 1.098 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/1.024, allocations: 10.39 kB / 1.098 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/1.024, allocations: 1.156 kB / 1.098 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.024, allocations: 5.031 kB / 1.098 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.024, allocations: 1.453 kB / 1.098 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002333/1.027, allocations: 1.042 MB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.027, allocations: 0 / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008252/1.027, allocations: 111.4 kB / 1.099 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.027, allocations: 3.938 kB / 1.099 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/1.027, allocations: 26.77 kB / 1.099 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.027, allocations: 0.9062 kB / 1.099 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.027, allocations: 0 / 1.099 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002651/1.03, allocations: 0.7922 MB / 1.1 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/1.03, allocations: 117.4 kB / 1.1 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.738e-05/1.03, allocations: 1.719 kB / 1.1 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006465/1.031, allocations: 51.83 kB / 1.1 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.031, allocations: 29.56 kB / 1.1 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/1.031, allocations: 23.78 kB / 1.1 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.135e-05/1.031, allocations: 83.89 kB / 1.1 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.031, allocations: 1.312 kB / 1.1 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004995/1.032, allocations: 54.28 kB / 1.1 GB, free: 15.34 MB / 0.8731 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.0002494/1.032, allocations: 114.6 kB / 1.1 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001602/1.034, allocations: 420.6 kB / 1.101 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/1.034, allocations: 5.219 kB / 1.101 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008368/1.035, allocations: 221.7 kB / 1.101 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000378/1.035, allocations: 9.25 kB / 1.101 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004455/1.039, allocations: 0.7835 MB / 1.102 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/1.04, allocations: 0.6963 MB / 1.103 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/1.04, allocations: 75.47 kB / 1.103 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of SimCode: time 2.445e-06/1.04, allocations: 5.188 kB / 1.103 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.007387/1.048, allocations: 3.787 MB / 1.106 GB, free: 13.91 MB / 0.8731 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)