Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.0009508/0.0009508, allocations: 106.8 kB / 16.29 MB, free: 6.031 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.0009128/0.0009127, allocations: 182.7 kB / 17.22 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 292.3 MB / 0.5495 GB, free: 17.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 71.91 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1922, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001756/0.194, allocations: 0.7905 MB / 0.7849 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001516/0.1955, allocations: 1.51 MB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.471e-05/0.1955, allocations: 3.938 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.1956, allocations: 3.938 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.806e-05/0.1956, allocations: 3.938 kB / 0.7863 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004202/0.196, allocations: 143.5 kB / 0.7865 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.1961, allocations: 47.95 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.1962, allocations: 4 kB / 0.7865 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.181e-05/0.1962, allocations: 27.91 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.534e-05/0.1963, allocations: 31.84 kB / 0.7866 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1963, allocations: 11.98 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004013/0.1967, allocations: 323.3 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.1967, allocations: 15.97 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1968, allocations: 23.86 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1971, allocations: 207.8 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1971, allocations: 4 kB / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1971, allocations: 0 / 0.7871 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.1971, allocations: 0 / 0.7871 GB, free: 0.7188 MB / 0.6544 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.0005327/0.1976, allocations: 399.4 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1977, allocations: 8.031 kB / 0.7875 GB, free: 280 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003903/0.1981, allocations: 76.75 kB / 0.7876 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.358e-05/0.1982, allocations: 160.4 kB / 0.7878 GB, free: 4 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.309/0.5072, allocations: 6.609 kB / 0.7878 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.5072, allocations: 5.156 kB / 0.7878 GB, free: 48.94 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003475/0.5076, allocations: 112.8 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.5076, allocations: 2.938 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.5076, allocations: 7.656 kB / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.5076, allocations: 0 / 0.7879 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003822/0.508, allocations: 102.8 kB / 0.788 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004381/0.5085, allocations: 336.5 kB / 0.7883 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.509, allocations: 162.1 kB / 0.7885 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.5092, allocations: 61.59 kB / 0.7885 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.5092, allocations: 0.8438 kB / 0.7885 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.5092, allocations: 35.62 kB / 0.7886 GB, free: 48.57 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.5092, allocations: 2.625 kB / 0.7886 GB, free: 48.57 MB / 0.6544 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.01527/0.5245, allocations: 2.826 MB / 0.7913 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.5245, allocations: 54.88 kB / 0.7914 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.664e-05/0.5246, allocations: 107.8 kB / 0.7915 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.5246, allocations: 25.7 kB / 0.7915 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.56e-05/0.5247, allocations: 99.42 kB / 0.7916 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.5247, allocations: 37.78 kB / 0.7916 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.5249, allocations: 72.41 kB / 0.7917 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.125e-05/0.5249, allocations: 314.8 kB / 0.792 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/0.5254, allocations: 192.4 kB / 0.7922 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.526, allocations: 196.3 kB / 0.7924 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.5271, allocations: 387.7 kB / 0.7927 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5271, allocations: 1.594 kB / 0.7927 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001231/0.5283, allocations: 489.7 kB / 0.7932 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.5283, allocations: 7.562 kB / 0.7932 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.5283, allocations: 0 / 0.7932 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.5284, allocations: 0 / 0.7932 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.5291, allocations: 108.5 kB / 0.7933 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5291, allocations: 0 / 0.7933 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.5296, allocations: 46.09 kB / 0.7934 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.197e-05/0.5297, allocations: 29.44 kB / 0.7934 GB, free: 47.37 MB / 0.6544 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.0001005/0.5298, allocations: 114 kB / 0.7935 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.5299, allocations: 11.22 kB / 0.7935 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.5299, allocations: 10.47 kB / 0.7935 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5299, allocations: 4.125 kB / 0.7935 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5299, allocations: 3.828 kB / 0.7935 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5299, allocations: 4.938 kB / 0.7935 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001727/0.5317, allocations: 1.047 MB / 0.7946 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5317, allocations: 1.375 kB / 0.7946 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/0.5324, allocations: 107 kB / 0.7947 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5324, allocations: 3.406 kB / 0.7947 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.5325, allocations: 19.69 kB / 0.7947 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5325, allocations: 2.344 kB / 0.7947 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5325, allocations: 1.125 kB / 0.7947 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001915/0.5344, allocations: 0.7958 MB / 0.7955 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.5345, allocations: 113.4 kB / 0.7956 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.773e-05/0.5346, allocations: 8.125 kB / 0.7956 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.5352, allocations: 45.22 kB / 0.7956 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.5353, allocations: 27.73 kB / 0.7956 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.5353, allocations: 26.89 kB / 0.7957 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.122e-05/0.5354, allocations: 81.31 kB / 0.7957 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5354, allocations: 0 / 0.7957 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003194/0.5357, allocations: 56.45 kB / 0.7958 GB, free: 46.36 MB / 0.6544 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.0001619/0.5359, allocations: 119.3 kB / 0.7959 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001266/0.5371, allocations: 424.9 kB / 0.7963 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5371, allocations: 0 / 0.7963 GB, free: 46.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006359/0.5378, allocations: 229.4 kB / 0.7965 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.5381, allocations: 8.203 kB / 0.7965 GB, free: 46.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003698/0.5418, allocations: 0.7543 MB / 0.7973 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.5419, allocations: 0.6915 MB / 0.798 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004134/0.5424, allocations: 92.94 kB / 0.798 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.5426, allocations: 55.92 kB / 0.7981 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.5426, allocations: 0 / 0.7981 GB, free: 45.32 MB / 0.6544 GB Notification: Performance of Templates: time 0.006242/0.5489, allocations: 3.465 MB / 0.8015 GB, free: 45.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)