Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.52/2.52, allocations: 287.5 MB / 303.2 MB, free: 8.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001738/0.001738, allocations: 172.6 kB / 371.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.6305 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008736/0.0008739, allocations: 97.28 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000649/0.0006492, allocations: 17.12 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2007, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8842/1.085, allocations: 139.4 MB / 1.115 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.085, allocations: 82.91 kB / 1.116 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02599/1.111, allocations: 5.507 MB / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.084e-06/1.111, allocations: 0 / 1.121 GB, free: 31.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.285e-06/1.111, allocations: 0 / 1.121 GB, free: 31.16 MB / 0.698 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.0007225/1.112, allocations: 406.6 kB / 1.121 GB, free: 30.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/1.112, allocations: 7.719 kB / 1.121 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005938/1.113, allocations: 67.42 kB / 1.121 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/1.113, allocations: 168.1 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/1.113, allocations: 3.812 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/1.113, allocations: 11.88 kB / 1.122 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/1.114, allocations: 127.7 kB / 1.122 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/1.114, allocations: 192 / 1.122 GB, free: 30.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/1.114, allocations: 7.688 kB / 1.122 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/1.114, allocations: 3.984 kB / 1.122 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000859/1.115, allocations: 126.6 kB / 1.122 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007759/1.115, allocations: 344.8 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/1.117, allocations: 178.1 kB / 1.122 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004225/1.117, allocations: 72.44 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/1.117, allocations: 3.75 kB / 1.122 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/1.117, allocations: 30.56 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 2.725e-06/1.117, allocations: 0 / 1.122 GB, free: 30.12 MB / 0.698 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.03555/1.153, allocations: 3.188 MB / 1.125 GB, free: 29.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/1.153, allocations: 51.41 kB / 1.126 GB, free: 29.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/1.153, allocations: 109.2 kB / 1.126 GB, free: 29.37 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.9e-05/1.153, allocations: 31.23 kB / 1.126 GB, free: 29.34 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/1.153, allocations: 84.05 kB / 1.126 GB, free: 29.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.368e-05/1.153, allocations: 41.02 kB / 1.126 GB, free: 29.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/1.153, allocations: 0 / 1.126 GB, free: 29.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.153, allocations: 316.6 kB / 1.126 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/1.155, allocations: 217.7 kB / 1.126 GB, free: 28.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001199/1.156, allocations: 218.5 kB / 1.127 GB, free: 28.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/1.158, allocations: 443.1 kB / 1.127 GB, free: 28.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.158, allocations: 0 / 1.127 GB, free: 28.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002756/1.161, allocations: 0.5229 MB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.161, allocations: 3.906 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/1.161, allocations: 3.969 kB / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/1.161, allocations: 0 / 1.127 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.163, allocations: 121.8 kB / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.163, allocations: 0 / 1.128 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/1.164, allocations: 56.94 kB / 1.128 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/1.164, allocations: 30.66 kB / 1.128 GB, free: 28.81 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000217/1.164, allocations: 117.2 kB / 1.128 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/1.164, allocations: 11.69 kB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.938e-05/1.165, allocations: 10.78 kB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.165, allocations: 3.141 kB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.165, allocations: 0 / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.165, allocations: 7.781 kB / 1.128 GB, free: 28.68 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003491/1.168, allocations: 1.092 MB / 1.129 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/1.168, allocations: 0 / 1.129 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/1.17, allocations: 124.2 kB / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.17, allocations: 0 / 1.129 GB, free: 28.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.28e-05/1.17, allocations: 32.2 kB / 1.129 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/1.17, allocations: 6.719 kB / 1.129 GB, free: 28.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.17, allocations: 3.938 kB / 1.129 GB, free: 28.09 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004033/1.174, allocations: 0.8645 MB / 1.13 GB, free: 27.93 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/1.174, allocations: 115.2 kB / 1.13 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/1.174, allocations: 3.938 kB / 1.13 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/1.176, allocations: 63.05 kB / 1.13 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001538/1.176, allocations: 25.36 kB / 1.13 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.748e-05/1.176, allocations: 21.52 kB / 1.13 GB, free: 27.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.76e-05/1.176, allocations: 88.64 kB / 1.13 GB, free: 27.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/1.176, allocations: 0 / 1.13 GB, free: 27.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005484/1.176, allocations: 64.09 kB / 1.13 GB, free: 27.75 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002611/1.177, allocations: 117.7 kB / 1.13 GB, free: 27.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002475/1.179, allocations: 476 kB / 1.131 GB, free: 27.63 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/1.179, allocations: 4 kB / 1.131 GB, free: 27.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/1.181, allocations: 248.6 kB / 1.131 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/1.181, allocations: 10.83 kB / 1.131 GB, free: 27.61 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/1.189, allocations: 0.8605 MB / 1.132 GB, free: 27.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/1.189, allocations: 0.6968 MB / 1.133 GB, free: 26.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001145/1.19, allocations: 90.88 kB / 1.133 GB, free: 26.64 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/1.191, allocations: 53.38 kB / 1.133 GB, free: 26.64 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/1.191, allocations: 0 / 1.133 GB, free: 26.64 MB / 0.698 GB Notification: Performance of Templates: time 0.00763/1.198, allocations: 3.259 MB / 1.136 GB, free: 24.92 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)