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.896/2.896, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.001558/0.001558, allocations: 187.7 kB / 370.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.284/2.284, allocations: 205.4 MB / 0.6295 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.001106/0.001106, allocations: 101.2 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007195/0.0007198, allocations: 18.25 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2852, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001366/0.2867, allocations: 0.5125 MB / 0.9787 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002977/0.2897, allocations: 1.441 MB / 0.9801 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.2898, allocations: 3.938 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.2898, allocations: 0 / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.2899, allocations: 0 / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007293/0.2906, allocations: 115.7 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.2907, allocations: 31.91 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.124e-05/0.2908, allocations: 7.984 kB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.321e-05/0.2909, allocations: 27.91 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.291, allocations: 27.91 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.2911, allocations: 4 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.2919, allocations: 311.5 kB / 0.9806 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.292, allocations: 19.92 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.2921, allocations: 29.7 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004672/0.2925, allocations: 156 kB / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2926, allocations: 0 / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.584e-06/0.2926, allocations: 0 / 0.9808 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2926, allocations: 0 / 0.9808 GB, free: 25.69 MB / 0.6198 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.001004/0.2936, allocations: 393.1 kB / 0.9812 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.2937, allocations: 8.031 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.2947, allocations: 83.81 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.2949, allocations: 178.9 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/0.2949, allocations: 8 kB / 0.9815 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.295, allocations: 8 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007742/0.2958, allocations: 121.6 kB / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.2958, allocations: 0 / 0.9816 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.2959, allocations: 8 kB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.2959, allocations: 0 / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.2972, allocations: 131.8 kB / 0.9817 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009638/0.2981, allocations: 332.6 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.2997, allocations: 186.4 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.2997, allocations: 7.938 kB / 0.9822 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.2998, allocations: 38.52 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.687e-06/0.2998, allocations: 0 / 0.9822 GB, free: 24.06 MB / 0.6198 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.04971/0.3496, allocations: 3.182 MB / 0.9854 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.3497, allocations: 55.41 kB / 0.9854 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/0.3498, allocations: 97.84 kB / 0.9855 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.601e-05/0.3499, allocations: 37.64 kB / 0.9855 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.3499, allocations: 88.06 kB / 0.9856 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/0.3501, allocations: 39.45 kB / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.3502, allocations: 0 / 0.9857 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.3503, allocations: 322.8 kB / 0.986 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001665/0.352, allocations: 211.8 kB / 0.9862 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.3537, allocations: 215.8 kB / 0.9864 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.3554, allocations: 224.9 kB / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3555, allocations: 0 / 0.9866 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.003898/0.3594, allocations: 0.5257 MB / 0.9871 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.3595, allocations: 4 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.3595, allocations: 0 / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.3595, allocations: 4 kB / 0.9871 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.3617, allocations: 119.8 kB / 0.9872 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.3618, allocations: 4 kB / 0.9872 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.3635, allocations: 59.94 kB / 0.9873 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.3636, allocations: 19.94 kB / 0.9873 GB, free: 18.74 MB / 0.6198 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.0002778/0.3639, allocations: 121.8 kB / 0.9874 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.3641, allocations: 11.86 kB / 0.9874 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.3642, allocations: 11.97 kB / 0.9874 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.3642, allocations: 4 kB / 0.9874 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3643, allocations: 0 / 0.9874 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3643, allocations: 4 kB / 0.9874 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005091/0.3694, allocations: 1.098 MB / 0.9885 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.3694, allocations: 0 / 0.9885 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/0.3717, allocations: 119.8 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.3717, allocations: 4 kB / 0.9886 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/0.3719, allocations: 23.92 kB / 0.9887 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.3719, allocations: 0 / 0.9887 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3719, allocations: 0 / 0.9887 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005935/0.3778, allocations: 0.8698 MB / 0.9895 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.3782, allocations: 113.1 kB / 0.9896 GB, free: 16.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.3784, allocations: 7.938 kB / 0.9896 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.3803, allocations: 67.92 kB / 0.9897 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.3805, allocations: 23.92 kB / 0.9897 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.3807, allocations: 27.94 kB / 0.9897 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.3807, allocations: 87.28 kB / 0.9898 GB, free: 16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.71e-07/0.3808, allocations: 0 / 0.9898 GB, free: 16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008384/0.3816, allocations: 51.98 kB / 0.9899 GB, free: 15.95 MB / 0.6198 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.0003139/0.3819, allocations: 107.2 kB / 0.99 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003688/0.3856, allocations: 475.5 kB / 0.9904 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.3857, allocations: 0 / 0.9904 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/0.3876, allocations: 247.7 kB / 0.9907 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.3881, allocations: 11.89 kB / 0.9907 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.3993, allocations: 0.8695 MB / 0.9915 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.3996, allocations: 0.7004 MB / 0.9922 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001719/0.4013, allocations: 88.67 kB / 0.9923 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006417/0.402, allocations: 59.3 kB / 0.9924 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of SimCode: time 1.272e-06/0.402, allocations: 0 / 0.9924 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.0119/0.4139, allocations: 3.238 MB / 0.9955 GB, free: 10.1 MB / 0.6198 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)